|
From: <sv...@cy...> - 2016-02-23 16:47:57
|
Author: comsultia
Date: 2016-02-23 17:47:49 +0100 (Tue, 23 Feb 2016)
New Revision: 8615
Log:
[!][xuladmin:xul] fix for type reload
Modified:
trunk/xuladmin/xpi-source-22/chrome/chromeFiles/content/addons/a210/page_edit.xbl
Modified: trunk/xuladmin/xpi-source-22/chrome/chromeFiles/content/addons/a210/page_edit.xbl
===================================================================
--- trunk/xuladmin/xpi-source-22/chrome/chromeFiles/content/addons/a210/page_edit.xbl 2016-02-23 16:02:57 UTC (rev 8614)
+++ trunk/xuladmin/xpi-source-22/chrome/chromeFiles/content/addons/a210/page_edit.xbl 2016-02-23 16:47:49 UTC (rev 8615)
@@ -237,7 +237,7 @@
this.fnc_init();
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {constructor} '+e)}
]]>
</constructor>
@@ -263,7 +263,7 @@
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_init} '+e)}
]]>
</body>
</method>
@@ -443,7 +443,7 @@
}
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_onSOAPLoad} '+e)}
]]>
</body>
</method>
@@ -719,7 +719,7 @@
return true
- }catch(e){alert('[page_edit.xbl] fnc_attachTreeview ' + e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_attachTreeview} ' + e)}
]]>
</body>
</method>
@@ -748,7 +748,7 @@
// this.load_param
// )
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_reload} '+e)}
]]>
</body>
</method>
@@ -759,15 +759,17 @@
<![CDATA[
try
{
- this.only_type = 1;
- document.getAnonymousElementByAttribute(this,'IDanon','TypeID_list_refresh').setAttribute('src','chrome://c3xuladmin/skin/icons/16x16/load.gif');
+ var tthis = document.getBindingParent(this);
- this.obj_SOAP.fnc_create(
- 'a170_type_list',
- {}
+ tthis.only_type = 1;
+ document.getAnonymousElementByAttribute(tthis,'IDanon','TypeID_list_refresh').setAttribute('src','chrome://c3xuladmin/skin/icons/16x16/load.gif');
+
+ tthis.obj_SOAP.fnc_create(
+ 'a170_type_list',
+ {}
);
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_reloadType} '+e)}
]]>
</body>
</method>
@@ -793,7 +795,7 @@
document.getAnonymousElementByAttribute(tthis,'IDanon','infobox')
.setAttribute('collapsed',false)
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_create} '+e)}
]]>
</body>
</method>
@@ -869,7 +871,7 @@
// this is for renaming, it should be included into previous request in the future
// var new_name = document.getAnonymousElementByAttribute(this,'IDdata','name').value
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_save} '+e)}
]]>
</body>
</method>
@@ -1458,7 +1460,7 @@
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_listTreecellClick} '+e)}
]]>
</body>
</method>
@@ -1510,7 +1512,7 @@
}
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_listTreecellDblClick} '+e)}
]]>
</body>
</method>
@@ -1623,7 +1625,7 @@
false
)
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_type_list} '+e)}
]]>
</body>
</method>
@@ -1661,7 +1663,7 @@
}
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_editItem} '+e)}
]]>
</body>
</method>
@@ -1674,7 +1676,7 @@
{
this.selectedIndex = 0
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_deselect_type} '+e)}
]]>
</body>
</method>
@@ -1700,7 +1702,7 @@
popup_element.openPopup(null, "", event.clientX,event.clientY, true, false);
}
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_tree_onClick} '+e)}
]]>
</body>
</method>
@@ -1725,7 +1727,7 @@
}
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_tree_onKeyPress} '+e)}
]]>
</body>
</method>
@@ -1740,7 +1742,7 @@
gClipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"].getService(Components.interfaces.nsIClipboardHelper); gClipboardHelper.copyString(sel.value);
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_copy} '+e)}
]]>
</body>
</method>
@@ -1772,7 +1774,7 @@
listXulNode.view.setCellValue(sel.index, col_value, pastetext);
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_paste} '+e)}
]]>
</body>
</method>
@@ -1818,7 +1820,7 @@
return selected;
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {get_selected} '+e)}
]]>
</body>
</method>
@@ -1842,7 +1844,7 @@
document.getAnonymousElementByAttribute(tthis,'IDanon','img_status')
.setAttribute('src','chrome://c3xuladmin/skin/icons/switches/status_Y.png');
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_switch_status} '+e)}
]]>
</body>
</method>
@@ -1866,7 +1868,7 @@
document.getAnonymousElementByAttribute(tthis,'IDanon','img_visible')
.setAttribute('src','chrome://c3xuladmin/skin/icons/switches/visible_Y.png');
}
- }catch(e){alert('[page_edit.xbl] {} '+e)}
+ }catch(e){alert('[page_edit.xbl] {fnc_switch_visible} '+e)}
]]>
</body>
</method>
|