fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Preventing browser from removing node when last character gets deleted via backspace
[fnpeditor.git]
/
modules
/
documentHistory
/
restoreDialog.js
diff --git
a/modules/documentHistory/restoreDialog.js
b/modules/documentHistory/restoreDialog.js
index
543a546
..
0110240
100644
(file)
--- a/
modules/documentHistory/restoreDialog.js
+++ b/
modules/documentHistory/restoreDialog.js
@@
-20,7
+20,7
@@
define([
this.setElement(this.template());
\r
this.$el.modal({backdrop: 'static'});
\r
this.$el.modal('show');
\r
-
\r
+ this.$('textarea').focus();
\r
},
\r
onSave: function(e) {
\r
e.preventDefault();
\r