cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r618310 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources: js/common.js manifest.js
Date Mon, 04 Feb 2008 16:04:41 GMT
Author: antonio
Date: Mon Feb  4 08:04:40 2008
New Revision: 618310

URL: http://svn.apache.org/viewvc?rev=618310&view=rev
Log:
Remove whitespaces.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/common.js
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/manifest.js

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/common.js
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/common.js?rev=618310&r1=618309&r2=618310&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/common.js
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/common.js
Mon Feb  4 08:04:40 2008
@@ -24,7 +24,7 @@
  *
  * @version $Id$
  */
- 
+
 // Can be loaded either through "cocoon.forms" or "cocoon.forms.common"
 // or individually out of Dojo.
 if (dojo) {
@@ -35,7 +35,7 @@
     cocoon.forms = cocoon.forms || {};
 }
 
-    
+
 /**
  * Get the parent form of an element
  *
@@ -96,7 +96,7 @@
     // Send the identifier of the widget that triggered the submit
     params["forms_submit_id"] = name;
     // call CForm's onSubmit handlers - allow them to stop the form by returning false
-    if (cocoon.forms.callOnSubmitHandlers(form)) {   
+    if (cocoon.forms.callOnSubmitHandlers(form)) {
         for (var param in params) { // add extra params to the form
             var input = form[param] || document.createElement("input");
             input.setAttribute("type", "hidden");
@@ -205,7 +205,3 @@
     cocoon.forms.onSubmitHandlers[id] = null;
     return true;
 }
-
-
-
-

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/manifest.js
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/manifest.js?rev=618310&r1=618309&r2=618310&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/manifest.js
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/manifest.js
Mon Feb  4 08:04:40 2008
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
- 
+
  /*
   * Mapping of all widget short names to their full package names
   * This is used for widget autoloading - no dojo.require() is necessary.
@@ -28,8 +28,9 @@
   *
   * @version $Id$
   */
-  
+
 dojo.provide("cocoon.forms.manifest");
+dojo.require("dojo.ns");
 
 (function(){
     var map = {
@@ -62,8 +63,8 @@
 
 
     dojo.registerModulePath("cocoon.ajax", "../ajax/js"); // cocoon.forms has a dependency
on the cocoon.ajax module libraries
-    
+
     dojo.registerModulePath("cocoon.forms", "../forms/js");
     dojo.registerNamespace("forms", "cocoon.forms", formsResolver);
-    
+
 })();



Mime
View raw message