svn commit: r893459 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r893459 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

erwan
Author: erwan
Date: Wed Dec 23 10:30:06 2009
New Revision: 893459

URL: http://svn.apache.org/viewvc?rev=893459&view=rev
Log:
Corrected a wrong position of the ajax messages which were displayed in the menus. Now they are placed before the content-main-section

Modified:
    ofbiz/trunk/framework/images/webapp/images/selectall.js

Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=893459&r1=893458&r2=893459&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Wed Dec 23 10:30:06 2009
@@ -172,7 +172,7 @@
     hiddenDiv.appendChild(newForm);
     window.opener.document.body.appendChild(hiddenDiv);
     newForm.submit();
-    window.opener.focus();    
+    window.opener.focus();
 }
 // From a child window, navigate the parent window to the supplied url
 function doGetViaParent(url) {
@@ -305,8 +305,8 @@
         if (data._ERROR_MESSAGE_LIST_ != undefined || data._ERROR_MESSAGE_ != undefined) {
             if(!$('content-messages')) {
                //add this div just after app-navigation
-               if($('app-navigation')){
-                   $('app-navigation' ).insert({after: '<div id="content-messages"></div>'});
+               if($('content-main-section')){
+                   $('content-main-section' ).insert({before: '<div id="content-messages"></div>'});
                }
             }
            $('content-messages').addClassName('errorMessage');