:: Forum >>

[ER] AW Template CheckBoxDisabled

Hi Alex,

Could you consider including this type of functionnality as an option to AW.Templates with the ability to change dynamically from Disabled to Enabled (just like in AW.UI)

/****************************************************************
    AW Template CheckBoxDisabled
*****************************************************************/

AW.Templates.CheckBoxDisabled = AW.Templates.CheckBox.subclass();
AW.Templates.CheckBoxDisabled.create = function(){

    AW.Templates.CheckBox.create.call(this);
    this.prototype.setEvent("onclick", function(){});
    this.prototype.setClass('disabled', 'control');
};


Thanks
Thierry Nivelet (FoxInCloud)
Saturday, June 18, 2011

This topic is archived.


Back to support forum

Forum search