clear: function() {
},
setMetadata: function(node) {
+ this.node.find('.rng-module-metadataEditor-addBtn').attr('disabled', !node);
if(!node) {
this.metaTable.html('');
return;
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);