Working Copy
authorwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 18 Oct 2012 09:26:46 +0000 (09:26 +0000)
committerwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 18 Oct 2012 09:26:46 +0000 (09:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/powermail_cond/trunk@67251 735d13b6-9817-0410-8766-e36946ffe9aa

.idea/workspace.xml
Resources/Public/Js/PowermailCond.js

index cabb8a1..b917568 100644 (file)
@@ -2,26 +2,8 @@
 <project version="4">\r
   <component name="ChangeListManager">\r
     <list default="true" readonly="true" id="500e5988-e13b-4ba1-8a60-e63a97f737a1" name="Default" comment="">\r
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Resources/Public/Css" />\r
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles\js\powermail_cond.js" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles\static\constants.txt" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles\static\setup.txt" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib\class.tx_powermailcond_ajaxFieldList_eid.php" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib\class.tx_powermailcond_ajaxWriteInSession_eid.php" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib\class.tx_powermailcond_div.php" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib\class.tx_powermailcond_fields_be.php" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib\class.tx_powermailcond_pidContainer.php" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles\js" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles\static" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldFiles" afterPath="" />\r
-      <change type="DELETED" beforePath="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\oldLib" afterPath="" />\r
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Classes/Utility/Div.php" afterPath="$PROJECT_DIR$/Classes/Utility/Div.php" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Classes/Utility/EidGetFieldlist.php" afterPath="$PROJECT_DIR$/Classes/Utility/EidGetFieldlist.php" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" afterPath="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" />\r
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" afterPath="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/ext_localconf.php" afterPath="$PROJECT_DIR$/ext_localconf.php" />\r
     </list>\r
     <ignored path="powermail_cond@powermailt347.in2code.de.iws" />\r
     <ignored path=".idea/workspace.xml" />\r
   </component>\r
   <component name="FileEditorManager">\r
     <leaf>\r
-      <file leaf-file-name="PowermailCond.js" pinned="false" current="false" current-in-tab="false">\r
+      <file leaf-file-name="PowermailCond.js" pinned="false" current="true" current-in-tab="true">\r
         <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
           <provider selected="true" editor-type-id="text-editor">\r
-            <state line="3" column="8" selection-start="177" selection-end="177" vertical-scroll-proportion="-2.04">\r
-              <folding />\r
-            </state>\r
-          </provider>\r
-        </entry>\r
-      </file>\r
-      <file leaf-file-name="setup.txt" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/Configuration/TypoScript/setup.txt">\r
-          <provider selected="true" editor-type-id="text-editor">\r
-            <state line="7" column="51" selection-start="352" selection-end="352" vertical-scroll-proportion="0.0">\r
-              <folding />\r
-            </state>\r
-          </provider>\r
-        </entry>\r
-      </file>\r
-      <file leaf-file-name="PowermailCond.css" pinned="false" current="true" current-in-tab="true">\r
-        <entry file="file://$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css">\r
-          <provider selected="true" editor-type-id="text-editor">\r
-            <state line="2" column="11" selection-start="50" selection-end="50" vertical-scroll-proportion="0.044854883">\r
-              <folding />\r
-            </state>\r
-          </provider>\r
-        </entry>\r
-      </file>\r
-      <file leaf-file-name="EidGetFieldlist.php" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/Classes/Utility/EidGetFieldlist.php">\r
-          <provider selected="true" editor-type-id="text-editor">\r
-            <state line="134" column="21" selection-start="4430" selection-end="4430" vertical-scroll-proportion="-10.666667">\r
-              <folding />\r
-            </state>\r
-          </provider>\r
-        </entry>\r
-      </file>\r
-      <file leaf-file-name="Div.php" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/Classes/Utility/Div.php">\r
-          <provider selected="true" editor-type-id="text-editor">\r
-            <state line="44" column="18" selection-start="1343" selection-end="1343" vertical-scroll-proportion="16.666666">\r
+            <state line="176" column="62" selection-start="6708" selection-end="6708" vertical-scroll-proportion="0.475">\r
               <folding />\r
             </state>\r
           </provider>\r
         <option value="$PROJECT_DIR$/Classes/Utility/EidGetFieldlist.php" />\r
         <option value="$PROJECT_DIR$/ext_localconf.php" />\r
         <option value="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" />\r
-        <option value="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
         <option value="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" />\r
+        <option value="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
       </list>\r
     </option>\r
   </component>\r
       <created>1350486110104</created>\r
       <updated>1350486110104</updated>\r
     </task>\r
-    <option name="localTasksCounter" value="10" />\r
+    <task id="LOCAL-00010" summary="Working Copy">\r
+      <created>1350551625105</created>\r
+      <updated>1350551625105</updated>\r
+    </task>\r
+    <option name="localTasksCounter" value="11" />\r
     <servers />\r
   </component>\r
   <component name="ToolWindowManager">\r
     <frame x="-8" y="-8" width="1616" height="916" extended-state="6" />\r
     <editor active="true" />\r
     <layout>\r
-      <window_info id="File Transfer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32917964" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
       <window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />\r
+      <window_info id="File Transfer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32917964" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
       <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />\r
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.18146718" sideWeight="0.32694763" order="1" side_tool="true" content_ui="tabs" />\r
       <window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />\r
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.18146718" sideWeight="0.6641124" order="0" side_tool="false" content_ui="combo" />\r
       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />\r
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />\r
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />\r
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />\r
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />\r
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32917964" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />\r
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.18146718" sideWeight="0.32694763" order="1" side_tool="true" content_ui="tabs" />\r
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.18146718" sideWeight="0.6641124" order="0" side_tool="false" content_ui="combo" />\r
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />\r
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />\r
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />\r
       <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />\r
       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32917964" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />\r
-      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32917964" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />\r
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />\r
       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />\r
       <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
+    <entry file="file://$PROJECT_DIR$/Configuration/TypoScript/setup.txt">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="3" column="8" selection-start="177" selection-end="177" vertical-scroll-proportion="-2.04">\r
+        <state line="7" column="51" selection-start="352" selection-end="352" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Configuration/TypoScript/setup.txt">\r
+    <entry file="file://$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="7" column="51" selection-start="352" selection-end="352" vertical-scroll-proportion="0.0">\r
+        <state line="2" column="11" selection-start="50" selection-end="50" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css">\r
+    <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="2" column="11" selection-start="50" selection-end="50" vertical-scroll-proportion="0.044854883">\r
+        <state line="176" column="62" selection-start="6708" selection-end="6708" vertical-scroll-proportion="0.475">\r
           <folding />\r
         </state>\r
       </provider>\r
index c510b17..d83fb33 100644 (file)
@@ -80,12 +80,12 @@ function checkConditions(uid) {
                url: url, // send to this url
                data: 'eID=' + 'powermailcond_getFieldStatus' + params + '&tx_powermailcond_pi1[formUid]=' + $('input[name="tx_powermail_pi1[form]"]').val(), // add params
                cache: false, // disable cache (for ie)
-               beforeSend: function() {
-                       document.body.style.cursor = 'progress'; // change cursor to busy
-               },
-               complete: function() {
-                       document.body.style.cursor = 'auto'; // normal cursor
-               },
+//             beforeSend: function() {
+//                     document.body.style.cursor = 'progress'; // change cursor to busy
+//             },
+//             complete: function() {
+//                     document.body.style.cursor = 'auto'; // normal cursor
+//             },
                success: function(data) { // return values
                        if (data != 'nochange') {
                                $('.powermail_fieldwrap select option').show(); // show all options at the beginning
@@ -136,7 +136,7 @@ function doAction(list) {
  * @return     void
  */
 function hideField(uid) {
-       $('.powermail_fieldwrap_' + uid).hide(); // hide current field
+       $('.powermail_fieldwrap_' + uid).fadeOut('fast'); // hide current field
        if ($('.powermail_fieldwrap_' + uid + ' .powermail_field').val() != '') { // only if value is not yet empty
                clearValue('.powermail_fieldwrap_' + uid + ' .powermail_field'); // clear value of current field
                clearSession(uid); // clear value of current field
@@ -152,7 +152,7 @@ function hideField(uid) {
 function hideFieldset(string) {
        var params = string.split(':'); // filter / uid / values
        var values = params[2].split(';'); // value1 / value2 / value3
-       $('powermail_fieldset_' + params[1]).hide(); // hide current fieldset
+       $('powermail_fieldset_' + params[1]).fadeOut('fast'); // hide current fieldset
        for (var k=0; k < values.length; k++) { // one loop for every field inside the fieldset
                clearValue('.powermail_fieldwrap_' + values[k] + ' .powermail_field'); // clear value of current field
        }
@@ -185,7 +185,7 @@ function filterSelection(string) {
  * @return void
  */
 function showAll() {
-       $('.powermail_fieldwrap, .powermail_fieldset').show(); // show all fields and fieldsets
+       $('.powermail_fieldwrap, .powermail_fieldset').fadeIn('fast'); // show all fields and fieldsets
 }
 
 /**