SWU: Do not show "settings refreshed" dialog when saving plugin settings

This commit is contained in:
Gina Häußge 2015-09-01 10:43:52 +02:00
parent 42e11acb44
commit 098c169ca5

View file

@ -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;