forked from 0x2620/pandora
19 lines
373 B
JavaScript
19 lines
373 B
JavaScript
'use strict';
|
|
|
|
pandora.ui.reloadButton = function() {
|
|
|
|
var that = Ox.Button({
|
|
style: 'symbol',
|
|
title: 'reload',
|
|
tooltip: Ox._('Reload Application'),
|
|
type: 'image'
|
|
})
|
|
.bindEvent({
|
|
click: function() {
|
|
pandora.ui.appPanel.reload();
|
|
}
|
|
});
|
|
|
|
return that;
|
|
|
|
};
|