SWU: Do not show "settings refreshed" dialog when saving plugin settings
This commit is contained in:
parent
42e11acb44
commit
098c169ca5
1 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ $(function() {
|
|||
self.config_checkoutFolder = ko.observable();
|
||||
self.config_checkType = ko.observable();
|
||||
|
||||
self.savingSettings = false;
|
||||
|
||||
self.configurationDialog = $("#settings_plugin_softwareupdate_configurationdialog");
|
||||
|
||||
self.config_availableCheckTypes = [
|
||||
|
|
@ -89,6 +91,7 @@ $(function() {
|
|||
};
|
||||
|
||||
self.savePluginSettings = function() {
|
||||
self.savingSettings = true;
|
||||
var data = {
|
||||
plugins: {
|
||||
softwareupdate: {
|
||||
|
|
@ -102,6 +105,7 @@ $(function() {
|
|||
self.configurationDialog.modal("hide");
|
||||
self._copyConfig();
|
||||
self.performCheck();
|
||||
self.savingSettings = false;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -371,6 +375,10 @@ $(function() {
|
|||
return true;
|
||||
};
|
||||
|
||||
self.onSettingsPreventRefresh = function() {
|
||||
return self.savingSettings;
|
||||
};
|
||||
|
||||
self.onDataUpdaterReconnect = function() {
|
||||
if (self.waitingForRestart) {
|
||||
self.waitingForRestart = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue