Skip to content

Commit

Permalink
Revert "Also use fastForEach in working dialogs of PMGR & software up…
Browse files Browse the repository at this point in the history
…date"

This reverts commit 0f6edab.
  • Loading branch information
foosel committed May 10, 2017
1 parent 15e8bbe commit e166765
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 18 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -788,9 +788,7 @@ $(function() {
};

self._scrollWorkingOutputToEnd = function() {
ko.bindingHandlers.fastForEach.FastForEach.animateFrame.call(window, function() {
self.workingOutput.scrollTop(self.workingOutput[0].scrollHeight - self.workingOutput.height());
});
self.workingOutput.scrollTop(self.workingOutput[0].scrollHeight - self.workingOutput.height());
};

self._getToggleCommand = function(data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ table {
}

#settings_plugin_pluginmanager_workingdialog_output {
span {
display: block;
}

.message {
font-weight: bold;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<h3 data-bind="text: workingTitle"></h3>
</div>
<div class="modal-body">
<pre id="settings_plugin_pluginmanager_workingdialog_output" class="terminal pre-scrollable" style="height: 170px" data-bind="fastForEach: loglines"><span data-bind="text: line, css: {stdout: stream == 'stdout', stderr: stream == 'stderr', call: stream == 'call', message: stream == 'message', error: stream == 'error'}"></span></pre>
<pre id="settings_plugin_pluginmanager_workingdialog_output" class="terminal pre-scrollable" style="height: 170px" data-bind="foreach: loglines"><span data-bind="text: line, css: {stdout: stream == 'stdout', stderr: stream == 'stderr', call: stream == 'call', message: stream == 'message', error: stream == 'error'}"></span><br></pre>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" data-bind="enable: !$root.working()" aria-hidden="true">{{ _('Close') }}</button>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,7 @@ $(function() {
};

self._scrollWorkingOutputToEnd = function() {
ko.bindingHandlers.fastForEach.FastForEach.animateFrame.call(window, function() {
self.workingOutput.scrollTop(self.workingOutput[0].scrollHeight - self.workingOutput.height());
});
self.workingOutput.scrollTop(self.workingOutput[0].scrollHeight - self.workingOutput.height());
};

self.onBeforeWizardTabChange = function(next, current) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ td.settings_plugin_softwareupdate_column_update {
#settings_plugin_softwareupdate_workingdialog_output {
font-size: 0.8em;

span {
display: block;
}

.message {
font-weight: bold;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<h3 data-bind="text: workingTitle"></h3>
</div>
<div class="modal-body">
<pre id="settings_plugin_softwareupdate_workingdialog_output" class="terminal pre-scrollable" style="height: 170px" data-bind="fastForEach: loglines"><span data-bind="text: line, css: {stdout: stream == 'stdout', stderr: stream == 'stderr', call: stream == 'call', message: stream == 'message'}"><br></pre>
<pre id="settings_plugin_softwareupdate_workingdialog_output" class="terminal pre-scrollable" style="height: 170px" data-bind="foreach: loglines"><span data-bind="text: line, css: {stdout: stream == 'stdout', stderr: stream == 'stderr', call: stream == 'call', message: stream == 'message'}"></span><br></pre>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" data-bind="enable: !$root.working()" aria-hidden="true">{{ _('Close') }}</button>
Expand Down

0 comments on commit e166765

Please sign in to comment.