:: Forum >>

[no subject]

Hi everyone, I have a problem when i am clicking on header checkbox to select all checkbox of grid records. i am getting an error.


Error: Incorrect function.

Url: https://investor-portal-developer-edition.na15.force.com/resource/1407220298000/aaa/ActiveWidgets_2557/runtime/lib/aw.js
Line Number: 57
Lalit
Thursday, August 7, 2014
This patch should fix it -

new AW.UI.ImageText();

AW.UI.ImageText.prototype.setEvent("onactivate", function(event){

    var e = this.getContent("box/text").element();
    if (e && event.srcElement != e ){
        this.setTimeout(function(){
            try {
                if (this.$active) {
                    e.setActive();
                }
            }
            catch(e) {
                // IE
            }
        });
    }
});


add this code just after aw.js
Alex (ActiveWidgets)
Thursday, August 21, 2014
Thanks Alex. Basically we have to add this code at the end in aw.js file and update static resource.
Lalit
Friday, August 22, 2014

This topic is archived.


Back to support forum

Forum search