fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
insert_tag - inserts only end tag, when no text selected - fixed.
[redakcja.git]
/
project
/
static
/
js
/
editor.js
diff --git
a/project/static/js/editor.js
b/project/static/js/editor.js
index
0cbb934
..
f94d33c
100644
(file)
--- a/
project/static/js/editor.js
+++ b/
project/static/js/editor.js
@@
-425,7
+425,7
@@
Editor.prototype.saveToBranch = function(msg)
if(self.autosaveTimer) {
clearTimeout(self.autosaveTimer);
}
- if (data.warnings === null) {
+ if (data.warnings === null
|| data.warning === undefined
) {
self.showPopup('save-successful');
} else {
self.showPopup('save-warn', data.warnings[0]);