this.addText=Rico.getPhraseById("addRecord",this.options.RecordName);
this.buttonHover=new Rico.HoverSet();
this.dateRegExp=/^\s*(\w+)(\W)(\w+)(\W)(\w+)/i;
- Rico.EditControls.atLoad();
this.createKeyArray();
this.createEditDiv();
this.saveMsg=Rico.$(liveGrid.tableId+'_savemsg');
this.responseDialog.style.display='none';
var buttonOK = document.createElement('button');
- buttonOK.appendChild(document.createTextNode('OK'));
+ buttonOK.appendChild(document.createTextNode(Rico.getPhraseById("ok")));
Rico.eventBind(buttonOK,"click", Rico.eventHandle(this,'ackResponse'));
this.responseDialog.appendChild(buttonOK);
this.zIndex=Math.max(this.zIndex,z+10);
},
- atLoad: function() {
- for (var id in this.widgetList) {
- var widget=this.widgetList[id].widget;
- if (widget.atLoad && !widget.atLoadComplete) {
- Rico.log("Rico.EditControls.atLoad: "+id);
- widget.atLoad();
- widget.atLoadComplete=true;
- }
- }
- },
-
applyTo: function(column,inputCtl) {
var wInfo=this.widgetList[column.format.SelectCtl];
if (!wInfo) return;