copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
|
||||
(function( $ ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
Refresh page
|
||||
*/
|
||||
$('#portletRefresh').on('click', function(ev) {
|
||||
ev.preventDefault();
|
||||
window.location.reload();
|
||||
});
|
||||
|
||||
/*
|
||||
Restore to default
|
||||
*/
|
||||
$('#portletReset').on('click', function(ev) {
|
||||
ev.preventDefault();
|
||||
store.remove('__portletOrder');
|
||||
store.remove('__portletState');
|
||||
window.location.reload();
|
||||
});
|
||||
|
||||
|
||||
|
||||
}).apply( this, [ jQuery ]);
|
||||
Reference in New Issue
Block a user