Sha256: 66be074bbacabfa10d645dc8ecc1305689f76ed51e3a58799fdb0202b2786b3d

Contents?: true

Size: 850 Bytes

Versions: 9

Compression:

Stored size: 850 Bytes

Contents

//>>built
define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_1,_2,_3){
return _1("dijit.form.MappedTextBox",_3,{postMixInProperties:function(){
this.inherited(arguments);
this.nameAttrSetting="";
},_setNameAttr:null,serialize:function(_4){
return _4.toString?_4.toString():"";
},toString:function(){
var _5=this.filter(this.get("value"));
return _5!=null?(typeof _5=="string"?_5:this.serialize(_5,this.constraints)):"";
},validate:function(){
this.valueNode.value=this.toString();
return this.inherited(arguments);
},buildRendering:function(){
this.inherited(arguments);
this.valueNode=_2.place("<input type='hidden'"+(this.name?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");
},reset:function(){
this.valueNode.value="";
this.inherited(arguments);
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dijit-rails-0.14.0 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/form/MappedTextBox.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/form/MappedTextBox.js