Merge pull request #1610 from symac/patch-1
Total number of operations for Undo / Redo
This commit is contained in:
commit
5d4ba26c11
@ -69,7 +69,7 @@ HistoryPanel.prototype.update = function(onDone) {
|
|||||||
HistoryPanel.prototype._render = function() {
|
HistoryPanel.prototype._render = function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this._tabHeader.html($.i18n._('core-project')["undo-redo"]+' <span class="count">' + this._data.past.length + '</span>');
|
this._tabHeader.html($.i18n._('core-project')["undo-redo"]+' <span class="count">' + this._data.past.length + ' / ' + ( this._data.future.length + this._data.past.length ) + '</span>');
|
||||||
|
|
||||||
this._div.empty().unbind().html(DOM.loadHTML("core", "scripts/project/history-panel.html"));
|
this._div.empty().unbind().html(DOM.loadHTML("core", "scripts/project/history-panel.html"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user