Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/panel-dialog.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/panel-dialog.js,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/panel-dialog.js 2 Nov 2005 09:20:03 -0000 1.2 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/panel-dialog.js 2 Feb 2007 21:04:45 -0000 1.3 @@ -1,5 +1,5 @@ -HTMLArea.PanelDialog = function(editor, side, html, localizer) +Xinha.PanelDialog = function(editor, side, html, localizer) { this.id = { }; this.r_id = { }; // reverse lookup id @@ -16,7 +16,7 @@ { this._lc = function(string) { - return HTMLArea._lc(string,localizer); + return Xinha._lc(string,localizer); }; } else @@ -32,7 +32,7 @@ { if(typeof dialog.id[id] == 'undefined') { - dialog.id[id] = HTMLArea.uniq('Dialog'); + dialog.id[id] = Xinha.uniq('Dialog'); dialog.r_id[dialog.id[id]] = id; } return dialog.id[id]; @@ -52,25 +52,25 @@ this.rootElem.innerHTML = html; }; -HTMLArea.PanelDialog.prototype.show = function(values) +Xinha.PanelDialog.prototype.show = function(values) { this.editor.showPanel(this.rootElem); }; -HTMLArea.PanelDialog.prototype.hide = function() +Xinha.PanelDialog.prototype.hide = function() { this.editor.hidePanel(this.rootElem); return this.getValues(); }; -HTMLArea.PanelDialog.prototype.onresize = HTMLArea.Dialog.prototype.onresize; +Xinha.PanelDialog.prototype.onresize = Xinha.Dialog.prototype.onresize; -HTMLArea.PanelDialog.prototype.toggle = HTMLArea.Dialog.prototype.toggle; +Xinha.PanelDialog.prototype.toggle = Xinha.Dialog.prototype.toggle; -HTMLArea.PanelDialog.prototype.setValues = HTMLArea.Dialog.prototype.setValues; +Xinha.PanelDialog.prototype.setValues = Xinha.Dialog.prototype.setValues; -HTMLArea.PanelDialog.prototype.getValues = HTMLArea.Dialog.prototype.getValues; +Xinha.PanelDialog.prototype.getValues = Xinha.Dialog.prototype.getValues; -HTMLArea.PanelDialog.prototype.getElementById = HTMLArea.Dialog.prototype.getElementById; +Xinha.PanelDialog.prototype.getElementById = Xinha.Dialog.prototype.getElementById; -HTMLArea.PanelDialog.prototype.getElementsByName = HTMLArea.Dialog.prototype.getElementsByName; \ No newline at end of file +Xinha.PanelDialog.prototype.getElementsByName = Xinha.Dialog.prototype.getElementsByName; \ No newline at end of file