Changeset 3344


Ignore:
Timestamp:
08/09/13 12:01:59 (11 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/components/DataCategoryEditor.xml
M mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/js/org/isocat/gui/DCEditor.js

  • added explicit reset buttons for effective and until date input fields
Location:
cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/components/DataCategoryEditor.xml

    r2676 r3344  
    8181              <strings jsxname="cdf" jsxwidth="100%" jsxheight="100%" jsxxmlid="DC-dc-_jsx_1_4b" jsxcdfid="dc-_jsx_1_4b"></strings>
    8282              <object type="jsx3.gui.StackGroup">
    83                 <variants jsxoverflow="2" jsxselectedindex="1"></variants>
     83                <variants jsxoverflow="2" jsxselectedindex="0"></variants>
    8484                <strings jsxname="stackgroup" jsxrows="*,27,27"></strings>
    8585                <object type="jsx3.gui.Stack">
     
    8888                  <object type="jsx3.gui.Block">
    8989                    <variants jsxoverflow="2" jsxrelativeposition="0" jsxleft="0" jsxtop="0"></variants>
    90                     <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxdisplay="none" jsxpadding="5 5 0 5" jsxvisibility="visible"></strings>
     90                    <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxdisplay="" jsxpadding="5 5 0 5" jsxvisibility="visible"></strings>
    9191                    <dynamics jsxbgcolor="ISOcat logo bg color"></dynamics>
    9292                    <object type="jsx3.gui.CDF">
     
    133133                                  <object type="jsx3.gui.TextBox">
    134134                                    <variants jsxheight="18" jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxwidth="200" jsxenabled="1"></variants>
    135                                     <strings jsxname="identifier" jsxmargin="0" jsxdisplay="" jsxcdfattribute="identifier" jsxtip="A unique name" jsxpadding="0" jsxvalue=""></strings>
     135                                    <strings jsxname="identifier" jsxmargin="0" jsxdisplay="" jsxcdfattribute="identifier" jsxtip="A unique name" jsxpadding="0"></strings>
    136136                                    <events jsxchange="var c = this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller;&#xA;c.changed();&#xA;c.checkIdentifier();"></events>
    137137                                  </object>
     
    167167                                  <object type="jsx3.gui.TextBox">
    168168                                    <variants jsxheight="18" jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxwidth="100" jsxenabled="0"></variants>
    169                                     <strings jsxname="version" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="version" jsxvalue=""></strings>
     169                                    <strings jsxname="version" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="version"></strings>
    170170                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    171171                                  </object>
     
    235235                                  <object type="jsx3.gui.TextBox">
    236236                                    <variants jsxrelativeposition="0" jsxheight="50" jsxleft="0" jsxtop="0" jsxtype="1"></variants>
    237                                     <strings jsxname="justification" jsxmargin="0" jsxdisplay="" jsxpadding="0" jsxwidth="100%" jsxcdfattribute="justification" jsxvalue=""></strings>
     237                                    <strings jsxname="justification" jsxmargin="0" jsxdisplay="" jsxpadding="0" jsxwidth="100%" jsxcdfattribute="justification"></strings>
    238238                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    239239                                  </object>
     
    261261                                  <object type="jsx3.gui.TextBox">
    262262                                    <variants jsxrelativeposition="0" jsxheight="18" jsxleft="0" jsxtop="0"></variants>
    263                                     <strings jsxname="origin" jsxmargin="0" jsxdisplay="" jsxpadding="0" jsxwidth="100%" jsxcdfattribute="origin" jsxvalue=""></strings>
     263                                    <strings jsxname="origin" jsxmargin="0" jsxdisplay="" jsxpadding="0" jsxwidth="100%" jsxcdfattribute="origin"></strings>
    264264                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    265265                                  </object>
     
    296296                                  <object type="jsx3.gui.TextBox">
    297297                                    <variants jsxheight="18" jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxwidth="100" jsxenabled="0"></variants>
    298                                     <strings jsxname="administrationStatus" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="administrationStatus" jsxvalue=""></strings>
     298                                    <strings jsxname="administrationStatus" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="administrationStatus"></strings>
    299299                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    300300                                  </object>
     
    322322                                  <object type="jsx3.gui.TextBox">
    323323                                    <variants jsxheight="18" jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxwidth="100" jsxenabled="0"></variants>
    324                                     <strings jsxname="registrationStatus" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="registrationStatus" jsxvalue=""></strings>
     324                                    <strings jsxname="registrationStatus" jsxmargin="2 2 2 2" jsxdisplay="" jsxcdfattribute="registrationStatus"></strings>
    325325                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    326326                                  </object>
     
    360360                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    361361                                  </object>
     362                                  <object type="jsx3.gui.ImageButton">
     363                                    <variants jsxwidth="16" jsxheight="16" jsxprefetch="1" jsxtype="0" jsxstate="0"></variants>
     364                                    <strings jsxname="resetEffectiveDate" jsximage="jsx:///images/list/delete.gif" jsxoverimage="jsx:///images/list/delete.gif" jsxdownimage="jsx:///images/list/delete.gif" jsxonimage="jsx:///images/list/delete.gif" jsxdisabledimage="jsx:///images/list/delete.gif"></strings>
     365                                    <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.resetEffectiveDate();"></events>
     366                                  </object>
    362367                                  <object type="jsx3.gui.Block">
    363368                                    <variants jsxrelativeposition="0" jsxoverflow="3" jsxleft="105" jsxtop="0"></variants>
    364                                     <strings jsxname="label" jsxtext="" jsxdisplay=""></strings>
     369                                    <strings jsxname="label" jsxdisplay=""></strings>
    365370                                  </object>
    366371                                </object>
     
    389394                                    <strings jsxname="untilDate" jsxmargin="0 4 0 0" jsxformat="yyyy-MM-dd" jsxcdfattribute="untilDate" jsxvalue="2009-08-06"></strings>
    390395                                    <events jsxchange="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
     396                                  </object>
     397                                  <object type="jsx3.gui.ImageButton">
     398                                    <variants jsxwidth="16" jsxheight="16" jsxprefetch="1" jsxtype="0" jsxstate="0"></variants>
     399                                    <strings jsxname="resetUntilDate" jsximage="jsx:///images/list/delete.gif" jsxoverimage="jsx:///images/list/delete.gif" jsxdownimage="jsx:///images/list/delete.gif" jsxonimage="jsx:///images/list/delete.gif" jsxdisabledimage="jsx:///images/list/delete.gif"></strings>
     400                                    <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.resetUntilDate();"></events>
    391401                                  </object>
    392402                                  <object type="jsx3.gui.Block">
     
    592602                  <object type="jsx3.gui.Block">
    593603                    <variants jsxoverflow="2" jsxrelativeposition="0" jsxleft="0" jsxtop="0"></variants>
    594                     <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxdisplay="" jsxpadding="5 5 0 5" jsxvisibility="visible"></strings>
     604                    <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxdisplay="none" jsxpadding="5 5 0 5" jsxvisibility="visible"></strings>
    595605                    <dynamics jsxbgcolor="ISOcat logo bg color" jsxborder="@Inset Top"></dynamics>
    596606                    <object type="jsx3.gui.CDF">
     
    661671                                          <object type="jsx3.gui.Select">
    662672                                            <variants jsxrelativeposition="0" jsxleft="16" jsxtop="0" jsxheight="20" jsxzindex="10"></variants>
    663                                             <strings jsxwidth="100%" jsxname="profileMask" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;&gt;&#xA;&lt;record jsxid=&quot;1&quot; jsxtext=&quot;One&quot;/&gt;&#xA;&lt;record jsxid=&quot;2&quot; jsxtext=&quot;Two&quot;/&gt;&#xA;&lt;record jsxid=&quot;3&quot; jsxtext=&quot;Three&quot;/&gt;&#xA;&lt;/data&gt;" jsxdisplay="none" jsxvalue="profile-5" jsxxmlid="profiles-_jsx_1_62"></strings>
     673                                            <strings jsxwidth="100%" jsxname="profileMask" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;&gt;&#xA;&lt;record jsxid=&quot;1&quot; jsxtext=&quot;One&quot;/&gt;&#xA;&lt;record jsxid=&quot;2&quot; jsxtext=&quot;Two&quot;/&gt;&#xA;&lt;record jsxid=&quot;3&quot; jsxtext=&quot;Three&quot;/&gt;&#xA;&lt;/data&gt;" jsxdisplay="none" jsxvalue="profile-5" jsxxmlid="profiles-_jsx_1_15b"></strings>
    664674                                          </object>
    665675                                        </object>
     
    797807                                        <object type="jsx3.gui.Menu">
    798808                                          <variants jsxxmlasync="1"></variants>
    799                                           <strings jsxname="languageMenuLeft" jsxtip="Select a language section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="language-_jsx_1_62-left" jsximage="images/flag.png"></strings>
     809                                          <strings jsxname="languageMenuLeft" jsxtip="Select a language section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="language-_jsx_1_15b-left" jsximage="images/flag.png"></strings>
    800810                                          <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.selectLanguageSection(this,objRECORD); "></events>
    801811                                        </object>
     
    807817                                        <object type="jsx3.gui.Menu">
    808818                                          <variants jsxxmlasync="1"></variants>
    809                                           <strings jsxname="languageMenuRight" jsxtip="Select a language section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="language-_jsx_1_62-right" jsximage="images/flag.png"></strings>
     819                                          <strings jsxname="languageMenuRight" jsxtip="Select a language section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="language-_jsx_1_15b-right" jsximage="images/flag.png"></strings>
    810820                                          <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.selectLanguageSection(this,objRECORD);"></events>
    811821                                        </object>
     
    10101020                                          <object type="jsx3.gui.Select">
    10111021                                            <variants jsxwidth="150" jsxheight="18" jsxxmlasync="1" _isfocusing="true"></variants>
    1012                                             <strings jsxname="datatypes" jsxmargin="0 4 0 0" jsxxmlid="datatypes-_jsx_1_62" jsxvalue="datatype-1"></strings>
     1022                                            <strings jsxname="datatypes" jsxmargin="0 4 0 0" jsxxmlid="datatypes-_jsx_1_15b" jsxvalue="datatype-1"></strings>
    10131023                                            <events jsxselect="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    10141024                                          </object>
     
    11061116                                                        <object type="jsx3.gui.Select">
    11071117                                                          <variants jsxrelativeposition="0" jsxleft="16" jsxtop="20" jsxheight="20" jsxzindex="10" _isfocusing="true"></variants>
    1108                                                           <strings jsxwidth="100%" jsxname="ruleTypeMask" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;&gt;&#xA;&lt;record jsxid=&quot;1&quot; jsxtext=&quot;One&quot;/&gt;&#xA;&lt;record jsxid=&quot;2&quot; jsxtext=&quot;Two&quot;/&gt;&#xA;&lt;record jsxid=&quot;3&quot; jsxtext=&quot;Three&quot;/&gt;&#xA;&lt;/data&gt;" jsxdisplay="none" jsxxmlid="ruletypes-_jsx_1_62" jsxvalue="Object Constraint Language"></strings>
     1118                                                          <strings jsxwidth="100%" jsxname="ruleTypeMask" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;&gt;&#xA;&lt;record jsxid=&quot;1&quot; jsxtext=&quot;One&quot;/&gt;&#xA;&lt;record jsxid=&quot;2&quot; jsxtext=&quot;Two&quot;/&gt;&#xA;&lt;record jsxid=&quot;3&quot; jsxtext=&quot;Three&quot;/&gt;&#xA;&lt;/data&gt;" jsxdisplay="none" jsxxmlid="ruletypes-_jsx_1_15b" jsxvalue="Object Constraint Language"></strings>
    11091119                                                          <events jsxselect="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.changed();"></events>
    11101120                                                        </object>
     
    11731183                                                <object type="jsx3.gui.Menu">
    11741184                                                  <variants jsxxmlasync="1"></variants>
    1175                                                   <strings jsxname="linguisticMenuLeft" jsxtip="Select a linguistic section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="linguistic-_jsx_1_62-left" jsximage="images/flag.png"></strings>
     1185                                                  <strings jsxname="linguisticMenuLeft" jsxtip="Select a linguistic section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="linguistic-_jsx_1_15b-left" jsximage="images/flag.png"></strings>
    11761186                                                  <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.selectLinguisticSection(this,objRECORD); "></events>
    11771187                                                </object>
     
    11831193                                                <object type="jsx3.gui.Menu">
    11841194                                                  <variants jsxxmlasync="1"></variants>
    1185                                                   <strings jsxname="linguisticMenuRight" jsxtip="Select a linguistic section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="linguistic-_jsx_1_62-right" jsximage="images/flag.png"></strings>
     1195                                                  <strings jsxname="linguisticMenuRight" jsxtip="Select a linguistic section." jsxtext="Language" jsxxml="&lt;data jsxid=&quot;jsxroot&quot;/&gt;" jsxxmlid="linguistic-_jsx_1_15b-right" jsximage="images/flag.png"></strings>
    11861196                                                  <events jsxexecute="this.getAncestorOfName(&quot;DataCategoryEditor&quot;).controller.selectLinguisticSection(this,objRECORD);"></events>
    11871197                                                </object>
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/js/org/isocat/gui/DCEditor.js

    r2724 r3344  
    13161316        };
    13171317       
     1318        DCEditor_prototype.resetEffectiveDate = function() {
     1319                var old = this.effectiveDate.getDate();
     1320                this.effectiveDate.setDate(null);
     1321                if (this.effectiveDate.getDate() != old)
     1322                        this.changed();
     1323        }
     1324       
     1325        DCEditor_prototype.resetUntilDate = function() {
     1326                var old = this.untilDate.getDate();
     1327                this.untilDate.setDate(null);
     1328                if (this.untilDate.getDate() != old)
     1329                        this.changed();
     1330        }
     1331       
    13181332        DCEditor_prototype.save = function() {
    13191333                var saveDC = org.isocat.APP.getRootBlock().loadAndCache("components/SaveDC.xml",true);
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/settings/builder.xml

    r3074 r3344  
    33  <record jsxid="window" type="map">
    44    <record jsxid="splitters" type="map">
    5       <record jsxid="jsx_ide_splitter1" type="string">81.84747583243825%</record>
     5      <record jsxid="jsx_ide_splitter1" type="string">81.88775510204081%</record>
    66      <record jsxid="jsx_ide_splitter2" type="string">21.369047619047617%</record>
    77      <record jsxid="jsx_ide_splitter3" type="string">41.20734908136483%</record>
     
    5454    <record jsxid="JSXAPPS/ISOcat" type="map">
    5555      <record jsxid="recentFiles" type="array">
    56         <record jsxid="0" type="string">components/User.xml</record>
    57         <record jsxid="1" type="string">components/appCanvas.xml</record>
    58         <record jsxid="2" type="string">jss/locale.xml</record>
    59         <record jsxid="3" type="string">components/ExplorerView.xml</record>
    60         <record jsxid="4" type="string">components/WorkspaceViewer.xml</record>
    61         <record jsxid="5" type="string">components/GroupEditor.xml</record>
    62         <record jsxid="6" type="string">components/DataCategoryViewer.xml</record>
    63         <record jsxid="7" type="string">components/DCSViewer.xml</record>
    64         <record jsxid="8" type="string">components/DataCategorySelectionViewer.xml</record>
    65         <record jsxid="9" type="string">components/DataCategoryEditor.xml</record>
    66         <record jsxid="10" type="string">components/ProfilesInput.xml</record>
    67         <record jsxid="11" type="string">xml/dc.xml</record>
    68         <record jsxid="12" type="string">components/SaveDC.xml</record>
    69         <record jsxid="13" type="string">components/Scope.xml</record>
     56        <record jsxid="0" type="string">components/appCanvas.xml</record>
     57        <record jsxid="1" type="string">jss/locale.xml</record>
     58        <record jsxid="2" type="string">components/DataCategoryEditor.xml</record>
     59        <record jsxid="3" type="string">components/Scope.xml</record>
     60        <record jsxid="4" type="string">components/User.xml</record>
     61        <record jsxid="5" type="string">components/ExplorerView.xml</record>
     62        <record jsxid="6" type="string">components/WorkspaceViewer.xml</record>
     63        <record jsxid="7" type="string">components/GroupEditor.xml</record>
     64        <record jsxid="8" type="string">components/DataCategoryViewer.xml</record>
     65        <record jsxid="9" type="string">components/DCSViewer.xml</record>
     66        <record jsxid="10" type="string">components/DataCategorySelectionViewer.xml</record>
     67        <record jsxid="11" type="string">components/ProfilesInput.xml</record>
     68        <record jsxid="12" type="string">xml/dc.xml</record>
     69        <record jsxid="13" type="string">components/SaveDC.xml</record>
    7070        <record jsxid="14" type="string">components/Password.xml</record>
    7171      </record>
     
    110110  </record>
    111111  <record jsxid="apihelp" type="map">
    112     <record jsxid="class" type="string">jsx3.gui.ToolbarButton</record>
     112    <record jsxid="class" type="string">jsx3.gui.DatePicker</record>
    113113    <record jsxid="member" type="string">_summary</record>
    114114    <record jsxid="aswindow" type="boolean">false</record>
Note: See TracChangeset for help on using the changeset viewer.