]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1256 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Fri, 9 Nov 2007 15:19:10 +0000 (15:19 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Fri, 9 Nov 2007 15:19:10 +0000 (15:19 +0000)
UI/MailerUI/product.plist
UI/Templates/UIxPageFrame.wox
UI/WebServerResources/generic.css
UI/WebServerResources/generic.js

index 6f269fb35146e5089ae5fd0a291152c0efed5876..0c024e62f3d5f8b292a0e5bcf9670bf583c3c131 100644 (file)
        };
       };
       methods = {
+       view = {
+         protectedBy = "View";
+         pageName    = "UIxMailListView";
+       };
        subscribe = {
          protectedBy = "<public>";
          actionClass = "UIxMailFolderActions";
          actionClass = "UIxMailFolderActions";
          actionName = "quotas";
        };
-       view = {
-         protectedBy = "View";
-         pageName    = "UIxMailListView";
-       };
        ajax = {
          protectedBy = "View";
          pageName    = "UIxMailAjaxRequest";
                    );
        };
       };
-      methods = {
-       view = {
-         protectedBy = "View";
-         pageName    = "UIxMailListView";
-       };
-       getMail = {
-         protectedBy = "View";
-         pageName    = "UIxMailListView";
-       };
-      };
     };
 
     SOGoDraftObject = {
        };
       };
       methods = {
+       view = {
+         protectedBy = "View";
+         pageName    = "UIxMailEditor";
+       };
        edit = {
          protectedBy = "View";
          pageName    = "UIxMailEditor";
index 9e38a12179ad32ce9778effbdb42d9b087818ee6..828487d20890e1d01e1dc9b5b0789bafbcd75668 100644 (file)
@@ -66,6 +66,8 @@
          
          <div id="pageContent"><var:component-content/></div>
 
+         <div id="javascriptSafetyNet"><!-- space --></div>
+
          <script type="text/javascript">
            var ApplicationBaseURL = '<var:string value="applicationPath" />';
            var ResourcesURL = '/SOGo.woa/WebServerResources';
@@ -95,6 +97,7 @@
          <var:foreach list="additionalJSFiles" item="item"
            ><script type="text/javascript" var:src="item"><!-- space --></script>
          </var:foreach>
+         <script type="text/javascript">addEvent(window, 'load', onFinalLoadHandler);</script>
         </var:if>
         <var:if condition="isCompatibleBrowser" const:negate="YES">
          <div id="loginScreen">
index 2f742cacf60e4cab31b437d22d5aa3ad2b8091c4..d5c1c529166e6a4bd1586003b62f39a0e8c8f862 100644 (file)
@@ -503,6 +503,14 @@ INPUT#searchValue
   background-position: 2px 2px;
   color: #aaa; }
 
+DIV#javascriptSafetyNet
+{ position: absolute;
+  background-color: transparent;
+  left: 0px;
+  right: 0px;
+  top: 0px;
+  bottom: 0px; }
+
 DIV.javascriptPopupBackground
 { position: absolute;
   background-color: #999;
index 47c0975313fcc64cb3d2b8cd9abbd1b0ed7601f2..8150991ee6a3dc24cab4da4c4a146dd608b40242 100644 (file)
@@ -1437,6 +1437,12 @@ function createFolderCallback(http) {
   }
 }
 
+function onFinalLoadHandler(event) {
+  var safetyNet = $("javascriptSafetyNet");
+  if (safetyNet)
+    safetyNet.parentNode.removeChild(safetyNet);
+}
+
 addEvent(window, 'load', onLoadHandler);
 
 function parent$(element) {