props.xtype = 'checkcolumn';
props.renderer = Ext.ux.grid.CheckColumn.prototype.renderer;
}
-
+
return props;
};
return function(v) {
return '<span class="tvh-grid-unset">********</span>';
}
-
+
if (this.type === 'time') {
if (this.duration)
return function(v) {
disabled: d,
width: 300
};
-
+
/* ComboBox */
if (this['enum']) {
c['forceSelection'] = false;
c['triggerAction'] = 'all';
c['emptyText'] = _('Select {0} ...').replace('{0}', this.text);
-
+
combo = true;
}
}
/* TODO: listeners for regexp?
- listeners : {
+ listeners : {
keyup: function() {
this.store.filter('val', this.getRawValue(), true, false);
},
beforequery: function(queryEvent) {
queryEvent.combo.onLoad();
// prevent doQuery from firing and clearing out my filter.
- return false;
+ return false;
}
}
*/
maskRe: /[0-9\.]/
});
break;
- } else if (f.intmin || f.intmin) {
+ } else if (f.intmin || f.intmax) {
r = new Ext.ux.form.SpinnerField({
fieldLabel: f.caption,
name: f.id,
p = newFieldSet({ title: m.name });
mfs[number] = p;
}
- cfs[number] = p;
+ cfs[number] = p;
}
}
for (var number in groups) {
function destroy() {
panel.removeAll(true);
}
-
+
function build() {
var c = {
showpwd: conf.showpwd,
uuids = [];
for (var i = 0; i < r.length; i++)
uuids.push(r[i].id);
-
+
params['uuid'] = r[0].id;
}
-
+
params['meta'] = 1;
conf.win = null;
}
});
buttons.push(abuttons.save);
-
+
abuttons.apply = new Ext.Button({
tooltip: _('Apply settings'),
text: _('Apply'),
},
items: [grid]
});
-
+
dpanel.add(mpanel);
dpanel.doLayout(false, true);
align: 'stretch'
}
});
-
+
dpanel.add(mpanel);
dpanel.doLayout(false, true);