smartxml: fix invalid context setting
[fnpeditor.git] / src / editor / modules / metadataEditor / metadataEditor.js
index 0eace02..118571e 100644 (file)
@@ -113,6 +113,8 @@ return function(sandbox) {
             var valueSelectView = new OpenSelectView({
                 value: row.getValue(),
                 inputTemplate: _.template('<div class="openInput rng-module-metadataEditor-metaItemValue" contentEditable="true"><%= value %></div>')({value: row.getValue() || '' }),
+                maxHeight: '300px',
+                maxWidth: '100px',
                 setInput: function(inputDOM, value) {
                     if(inputDOM.text() !== value) {
                         inputDOM.text(value);