fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
editor: dialog forms - setting initial value for text input fields
[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
0d4bbd4
..
0579464
100644
(file)
--- a/
src/editor/views/dialog/dialog.js
+++ b/
src/editor/views/dialog/dialog.js
@@
-38,7
+38,7
@@
define(function(require) {
throw new Error('Field type {type} not recognized.'.replace('{type}', field.type));
}
body.append(
- _.template(template)(_.extend({description: ''}, field))
+ _.template(template)(_.extend({description: ''
, initialValue: ''
}, field))
);
});