From: Aleksander Ɓukasz Date: Tue, 25 Mar 2014 13:51:46 +0000 (+0100) Subject: editor: metadata editor - handling long lists of long values X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/ce1cadf0f7da03cb03d2ca728c92cfc9ea8c6517?ds=sidebyside;hp=ef2d50fc31d5702a1c624a2cdc31cacb0e750c68 editor: metadata editor - handling long lists of long values --- diff --git a/src/editor/modules/metadataEditor/metadataEditor.js b/src/editor/modules/metadataEditor/metadataEditor.js index 0eace02..118571e 100644 --- a/src/editor/modules/metadataEditor/metadataEditor.js +++ b/src/editor/modules/metadataEditor/metadataEditor.js @@ -113,6 +113,8 @@ return function(sandbox) { var valueSelectView = new OpenSelectView({ value: row.getValue(), inputTemplate: _.template('
<%= value %>
')({value: row.getValue() || '' }), + maxHeight: '300px', + maxWidth: '100px', setInput: function(inputDOM, value) { if(inputDOM.text() !== value) { inputDOM.text(value);