fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[fnpeditor.git]
/
modules
/
rng
/
rng.js
diff --git
a/modules/rng/rng.js
b/modules/rng/rng.js
index
c83228b
..
7c39d0f
100644
(file)
--- a/
modules/rng/rng.js
+++ b/
modules/rng/rng.js
@@
-147,7
+147,7
@@
return function(sandbox) {
},
\r
restoringStarted: function(event) {
\r
sandbox.getModule('mainBar').setCommandEnabled('save', false);
\r
},
\r
restoringStarted: function(event) {
\r
sandbox.getModule('mainBar').setCommandEnabled('save', false);
\r
- sandbox.getModule('indicator').showMessage(gettext('Restoring version '
+ event.version + '...')
);
\r
+ sandbox.getModule('indicator').showMessage(gettext('Restoring version '
) + event.version + '...'
);
\r
},
\r
historyItemAdded: function(item) {
\r
sandbox.getModule('documentHistory').addHistory([item], {animate: true});
\r
},
\r
historyItemAdded: function(item) {
\r
sandbox.getModule('documentHistory').addHistory([item], {animate: true});
\r
@@
-259,6
+259,9
@@
return function(sandbox) {
} else {
\r
sandbox.getModule('documentCanvas').wrapSelectionWithNewNode(wlxmlTag, wlxmlClass);
\r
}
\r
} else {
\r
sandbox.getModule('documentCanvas').wrapSelectionWithNewNode(wlxmlTag, wlxmlClass);
\r
}
\r
+ },
\r
+ command: function(cmd, meta) {
\r
+ sandbox.getModule('documentCanvas').command(cmd, meta);
\r
}
\r
};
\r
\r
}
\r
};
\r
\r