|
$( ".column" ).sortable({
connectWith: ".column",
handle: ".portlet-header",
cancel: ".portlet-toggle",
placeholder: "portlet-placeholder ui-corner-all",
stop:this.saveLayout()
});
Model.prototype.saveLayout = function(event){
var elnData = this.comp("elnData");
var list = "";
$.each($(".column"), function(m) {
list += $(this).attr('id') + ":";
$.each($(this).children(".portlet"), function(d) {
list += $(this).attr('id') + "@";
});
list += "|";
}); alert(list); //alert($.cookie("list"));
elnData.saveData("fSORT",list);
//$.cookie("list", list);//alert($.cookie("list"));
};
this.saveLayout is not a function
[url=]隐藏详细[/url]
TypeError: this.saveLayout is not a function at
|
|