luci: service: Rewrite func serviceActionEx

This commit is contained in:
remittor
2026-01-26 16:08:37 +03:00
parent e2c6c0552e
commit 83bf86b2f8
3 changed files with 59 additions and 81 deletions

View File

@@ -136,6 +136,10 @@ return baseclass.extend({
openUpdateDialog: function(pkg_arch)
{
if (tools.checkUnsavedChanges()) {
ui.addNotification(null, E('p', _('You have unapplied changes')));
return;
}
this.stage = 0;
this.pkg_arch = pkg_arch;
this.pkg_url = null;