cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r498331 - /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js
Date Sun, 21 Jan 2007 14:53:06 GMT
Author: bruno
Date: Sun Jan 21 06:53:06 2007
New Revision: 498331

URL: http://svn.apache.org/viewvc?view=rev&rev=498331
Log:
Remove forms_createPopupWindow function, this was only used for the calendar popup (now replaced
by dojo-equivalent).

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js?view=diff&rev=498331&r1=498330&r2=498331
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js
Sun Jan 21 06:53:06 2007
@@ -102,25 +102,6 @@
     document.body.appendChild(element);
 }
 
-/**
- * Create a popup window for a named element.
- *
- * @param id the ID of the element to make a popup with.
- */
-function forms_createPopupWindow(id) {
-    var result = new PopupWindow(id);
-    result.autoHide();
-    // add to onload handlers
-    result.forms_id = id;
-    // TODO: This onLoad handler never would get called
-    result.forms_onload = function() {
-        forms_moveInBody(document.getElementById(this.forms_id));
-    }
-    cocoon.forms.addOnLoadHandler(result);
-    return result;
-}
-
-
 function forms_createOptionTransfer(id, submitOnChange) {
     var result = new OptionTransfer(id + ".unselected", id);
     result.setAutoSort(true);



Mime
View raw message