Working Copy
authorwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 25 Oct 2012 13:06:34 +0000 (13:06 +0000)
committerwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 25 Oct 2012 13:06:34 +0000 (13:06 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/powermail_cond/trunk@67424 735d13b6-9817-0410-8766-e36946ffe9aa

.idea/workspace.xml
Resources/Public/Css/PowermailCond.css
Resources/Public/Js/PowermailCond.js
ext_emconf.php

index f2fc5b8..7f653f5 100644 (file)
@@ -3,7 +3,9 @@
   <component name="ChangeListManager">\r
     <list default="true" readonly="true" id="500e5988-e13b-4ba1-8a60-e63a97f737a1" name="Default" comment="">\r
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />\r
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" afterPath="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" />\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_emconf.php" afterPath="$PROJECT_DIR$/ext_emconf.php" />\r
     </list>\r
     <ignored path="powermail_cond@powermailt347.in2code.de.iws" />\r
     <ignored path=".idea/workspace.xml" />\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="248" column="24" selection-start="8678" selection-end="8678" vertical-scroll-proportion="0.4513889">\r
+            <state line="248" column="24" selection-start="8747" selection-end="8747" vertical-scroll-proportion="0.3861111">\r
               <folding />\r
             </state>\r
           </provider>\r
         </entry>\r
       </file>\r
-      <file leaf-file-name="EidSaveInSession.php" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/Classes/Utility/EidSaveInSession.php">\r
+      <file leaf-file-name="PowermailCond.css" pinned="false" current="false" current-in-tab="false">\r
+        <entry file="file://$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css">\r
           <provider selected="true" editor-type-id="text-editor">\r
-            <state line="31" column="19" selection-start="1308" selection-end="1308" vertical-scroll-proportion="0.0">\r
+            <state line="8" column="1" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">\r
               <folding />\r
             </state>\r
           </provider>\r
@@ -58,7 +60,6 @@
         <option value="$PROJECT_DIR$/oldFiles/static/setup.txt" />\r
         <option value="$PROJECT_DIR$/ext_tables.php" />\r
         <option value="$PROJECT_DIR$/Classes/Utility/EidReadSession.php" />\r
-        <option value="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" />\r
         <option value="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" />\r
         <option value="$PROJECT_DIR$/Classes/Utility/EidSaveInSession.php" />\r
         <option value="$PROJECT_DIR$/ext_localconf.php" />\r
@@ -68,6 +69,7 @@
         <option value="$PROJECT_DIR$/Configuration/TCA/Condition.php" />\r
         <option value="$PROJECT_DIR$/Classes/Utility/EidGetFieldlist.php" />\r
         <option value="$PROJECT_DIR$/ext_emconf.php" />\r
+        <option value="$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css" />\r
         <option value="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
       </list>\r
     </option>\r
       <sortByType />\r
     </navigator>\r
     <panes>\r
-      <pane id="Scope">\r
-        <subPane subId="Project Files">\r
-          <PATH>\r
-            <PATH_ELEMENT USER_OBJECT="Root">\r
-              <option name="myItemId" value="" />\r
-              <option name="myItemType" value="" />\r
-            </PATH_ELEMENT>\r
-          </PATH>\r
-        </subPane>\r
-      </pane>\r
       <pane id="ProjectPane">\r
         <subPane>\r
           <PATH>\r
               <option name="myItemId" value="Resources" />\r
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
             </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Public" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Css" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Resources" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Configuration" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
           </PATH>\r
           <PATH>\r
             <PATH_ELEMENT>\r
           </PATH>\r
         </subPane>\r
       </pane>\r
+      <pane id="Scope">\r
+        <subPane subId="Project Files">\r
+          <PATH>\r
+            <PATH_ELEMENT USER_OBJECT="Root">\r
+              <option name="myItemId" value="" />\r
+              <option name="myItemType" value="" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+        </subPane>\r
+      </pane>\r
     </panes>\r
   </component>\r
   <component name="PropertiesComponent">\r
     <property name="options.splitter.main.proportions" value="0.3" />\r
     <property name="WebServerToolWindowFactoryState" value="true" />\r
     <property name="options.lastSelected" value="web.server" />\r
-    <property name="options.splitter.details.proportions" value="0.2" />\r
     <property name="options.searchVisible" value="true" />\r
+    <property name="options.splitter.details.proportions" value="0.2" />\r
   </component>\r
   <component name="PublishConfig" serverName="in2code" serverId="3ca6b370-8a73-4525-bbbd-e6d3cdda1d7f" autoUpload="true" autoUploadExternalChanges="true">\r
     <servers>\r
       <created>1350992121102</created>\r
       <updated>1350992121102</updated>\r
     </task>\r
-    <option name="localTasksCounter" value="20" />\r
+    <task id="LOCAL-00020" summary="Working Copy">\r
+      <created>1350996236102</created>\r
+      <updated>1350996236102</updated>\r
+    </task>\r
+    <option name="localTasksCounter" value="21" />\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="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.32694763" 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="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="false" weight="0.15894467" sideWeight="0.3448276" 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.16473617" sideWeight="0.6730524" 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="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="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="false" weight="0.15894467" sideWeight="0.3448276" 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.15894467" sideWeight="0.6462324" order="0" side_tool="false" content_ui="combo" />\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="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="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 line="7" column="51" selection-start="352" selection-end="352" vertical-scroll-proportion="0.0" />\r
       </provider>\r
     </entry>\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.0" />\r
-      </provider>\r
-    </entry>\r
     <entry file="file://$PROJECT_DIR$/ext_localconf.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
         <state line="24" column="76" selection-start="993" selection-end="1019" vertical-scroll-proportion="0.4473684" />\r
     </entry>\r
     <entry file="file://$PROJECT_DIR$/Classes/Utility/EidSaveInSession.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="31" column="19" selection-start="1308" selection-end="1308" vertical-scroll-proportion="0.0">\r
+        <state line="31" column="19" selection-start="1308" selection-end="1308" vertical-scroll-proportion="0.023224045" />\r
+      </provider>\r
+    </entry>\r
+    <entry file="file://$PROJECT_DIR$/ext_emconf.php">\r
+      <provider selected="true" editor-type-id="text-editor">\r
+        <state line="17" column="23" selection-start="670" selection-end="670" vertical-scroll-proportion="0.20862308">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/ext_emconf.php">\r
+    <entry file="file://$PROJECT_DIR$/Resources/Public/Css/PowermailCond.css">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="36" column="33" selection-start="1146" selection-end="1146" vertical-scroll-proportion="0.65785813">\r
+        <state line="8" column="1" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
     <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="248" column="24" selection-start="8678" selection-end="8678" vertical-scroll-proportion="0.4513889">\r
+        <state line="248" column="24" selection-start="8747" selection-end="8747" vertical-scroll-proportion="0.3861111">\r
           <folding />\r
         </state>\r
       </provider>\r
index c112fbc..6150057 100644 (file)
@@ -3,4 +3,7 @@ form.powermail_form {
        -webkit-opacity: 0.1;
        opacity: 0.1;
        filter: alpha(opacity=10);
+}
+.hide {
+       display: none;
 }
\ No newline at end of file
index 35b5fba..8bd7696 100644 (file)
@@ -84,7 +84,7 @@ function checkConditions(uid) {
                cache: false, // disable cache (for ie)
                success: function(data) { // return values
                        if (data != 'nochange') {
-                               $('.powermail_fieldwrap select option').show(); // show all options at the beginning
+                               $('.powermail_fieldwrap select option').removeClass('hide'); // show all options at the beginning
                                $('.powermail_fieldwrap select option').removeAttr('disabled'); // enable all options at the beginning
                                if (data != '') { // if there is a response
                                        if (data.length < 1000) { // stop if wrong result (maybe complete t3 page)
@@ -132,7 +132,7 @@ function doAction(list) {
  * @return     void
  */
 function hideField(uid) {
-       $('.powermail_fieldwrap_' + uid).hide(); // hide current field
+       $('.powermail_fieldwrap_' + uid).addClass('hide'); // 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
@@ -148,7 +148,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]).addClass('hide'); // 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
        }
@@ -163,10 +163,10 @@ function hideFieldset(string) {
 function filterSelection(string) {
        var params = string.split(':'); // filter / uid / values
        var values = params[2].split(';'); // value1 / value2 / value3
-       $('.powermail_fieldwrap_' + params[1] + ' .powermail_field > option').hide().attr('disabled', 'disabled'); // disable all options
+       $('.powermail_fieldwrap_' + params[1] + ' .powermail_field > option').addClass('hide').attr('disabled', 'disabled'); // disable all options
 
        for (var j=0; j < values.length; j++) { // one loop for every option in select field
-               $('.powermail_fieldwrap_' + params[1] + ' .powermail_field > option:contains(' + values[j] + ')').show().removeAttr('disabled'); // show this option
+               $('.powermail_fieldwrap_' + params[1] + ' .powermail_field > option:contains(' + values[j] + ')').removeClass('hide').removeAttr('disabled'); // show this option
        }
 
        var valueSelected = $('.powermail_fieldwrap_' + params[1] + ' .powermail_field > option:selected').val(); // give me the value of the selected option
@@ -181,7 +181,7 @@ function filterSelection(string) {
  * @return void
  */
 function showAll() {
-       $('.powermail_fieldwrap, .powermail_fieldset').show(); // show all fields and fieldsets
+       $('.powermail_fieldwrap, .powermail_fieldset').removeClass('hide'); // show all fields and fieldsets
 }
 
 /**
index 2fd3b90..b2bb029 100644 (file)
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
        'description' => 'Add conditions via AJAX to powermail 2.x forms (fields and fieldsets). This extension uses jQuery as JavaScript Library.',
        'category' => 'plugin',
        'shy' => 0,
-       'version' => '2.0.0alpha',
+       'version' => '1.9.9',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',