Fix working dialog of pgmr and swu being closeable while active

Only the close button should work now
This commit is contained in:
Gina Häußge 2016-11-23 15:11:35 +01:00
parent 5c39e9a8a3
commit 4ed0ed5f99
4 changed files with 2 additions and 4 deletions

View file

@ -648,7 +648,7 @@ $(function() {
self.loglines.push({line: line, stream: "message"});
self._scrollWorkingOutputToEnd();
self.workingDialog.modal("show");
self.workingDialog.modal({keyboard: false, backdrop: "static", show: true});
};
self._markDone = function() {

View file

@ -88,7 +88,6 @@
<div id="settings_plugin_pluginmanager_workingdialog" class="modal hide fade">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: workingTitle"></h3>
</div>
<div class="modal-body">

View file

@ -454,7 +454,7 @@ $(function() {
self.working(true);
self.workingTitle(title);
self.workingDialog.modal("show");
self.workingDialog.modal({keyboard: false, backdrop: "static", show: true});
};
self._markWorking = function(title, line, stream) {

View file

@ -96,7 +96,6 @@
<div id="settings_plugin_softwareupdate_workingdialog" class="modal hide fade">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: workingTitle"></h3>
</div>
<div class="modal-body">