Skip to content

Commit 27c01c9

Browse files
committed
feat: Reaload App option in the window title bar context menu
1 parent a08e975 commit 27c01c9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/gui/src/UI/UIWindow.js

+13
Original file line numberDiff line numberDiff line change
@@ -2068,6 +2068,19 @@ async function UIWindow(options) {
20682068
// -
20692069
menu_items.push('-')
20702070
}
2071+
//-------------------------------------------
2072+
// Reload App
2073+
//-------------------------------------------
2074+
if(el_window_app_iframe !== null){
2075+
menu_items.push({
2076+
html: 'Reload App',
2077+
onClick: function(){
2078+
$(el_window_app_iframe).attr('src', $(el_window_app_iframe).attr('src'));
2079+
}
2080+
});
2081+
// -
2082+
menu_items.push('-')
2083+
}
20712084
// -------------------------------------------
20722085
// Close
20732086
// -------------------------------------------

0 commit comments

Comments
 (0)