feat: Reaload App option in the window title bar context menu

This commit is contained in:
jelveh 2024-11-11 11:46:28 -08:00
parent a08e9758fe
commit 27c01c9bd9

View File

@ -2069,6 +2069,19 @@ async function UIWindow(options) {
menu_items.push('-')
}
//-------------------------------------------
// Reload App
//-------------------------------------------
if(el_window_app_iframe !== null){
menu_items.push({
html: 'Reload App',
onClick: function(){
$(el_window_app_iframe).attr('src', $(el_window_app_iframe).attr('src'));
}
});
// -
menu_items.push('-')
}
// -------------------------------------------
// Close
// -------------------------------------------
menu_items.push({