mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-31 14:50:48 +03:00
luci: service: Rewrite func serviceActionEx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user