fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: Handle invalid element passed to Canvas.setCurrentElement
[fnpeditor.git]
/
src
/
editor
/
views
/
dialog
/
dialog.js
diff --git
a/src/editor/views/dialog/dialog.js
b/src/editor/views/dialog/dialog.js
index
0579464
..
04d8f74
100644
(file)
--- a/
src/editor/views/dialog/dialog.js
+++ b/
src/editor/views/dialog/dialog.js
@@
-48,7
+48,7
@@
define(function(require) {
this.$el.modal({backdrop: 'static'});
this.$el.modal('show');
this.$el.modal({backdrop: 'static'});
this.$el.modal('show');
- this.$('textarea
'
).focus();
+ this.$('textarea
, input').first(
).focus();
},
onExecute: function(e) {
e.preventDefault();
},
onExecute: function(e) {
e.preventDefault();