]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Sat, 24 Oct 2020 17:33:53 +0000 (19:33 +0200)
committerVincent <vincent@enhydra.fr>
Sat, 24 Oct 2020 17:33:53 +0000 (19:33 +0200)
.idea/workspace.xml
js/home.js

index 932a20b1d257940c23d7c762b5688ad2cbb0c2dd..7bc005b1be2b292efcb906b4623eac3a3e719c8d 100644 (file)
@@ -3,8 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/hue.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/hue.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/servers/hue.php" beforeDir="false" afterPath="$PROJECT_DIR$/servers/hue.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/js/home.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/home.js" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1602862886793" duration="1014000" />
       <workItem from="1603095373591" duration="1368000" />
       <workItem from="1603270756890" duration="3366000" />
-      <workItem from="1603558842019" duration="1166000" />
-    </task>
-    <task id="LOCAL-00302" summary=".">
-      <created>1582014492440</created>
-      <option name="number" value="00302" />
-      <option name="presentableId" value="LOCAL-00302" />
-      <option name="project" value="LOCAL" />
-      <updated>1582014492440</updated>
+      <workItem from="1603558842019" duration="1938000" />
     </task>
     <task id="LOCAL-00303" summary=".">
       <created>1582100835532</created>
       <option name="project" value="LOCAL" />
       <updated>1603559422652</updated>
     </task>
-    <option name="localTasksCounter" value="351" />
+    <task id="LOCAL-00351" summary=".">
+      <created>1603560058397</created>
+      <option name="number" value="00351" />
+      <option name="presentableId" value="LOCAL-00351" />
+      <option name="project" value="LOCAL" />
+      <updated>1603560058397</updated>
+    </task>
+    <option name="localTasksCounter" value="352" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
     <state x="872" y="161" key="#Plugins/0.0.2560.1040@0.0.2560.1040" timestamp="1596008801840" />
-    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2" timestamp="1603559413478">
+    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2" timestamp="1603560049553">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
     <state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1602171117745" />
-    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1603559413478" />
+    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1603560049553" />
     <state x="1114" y="443" key="NewPhpFileDialog" timestamp="1602146675515">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
index c70e0ff93aba52f09e6729ac03de363aa5f5eaff..80d35ec105a78a24e855ef7159f388e86938a43e 100644 (file)
@@ -735,7 +735,7 @@ function showSection(section, force) {
     setSleepTime();
     var diff = Math.round((new Date().getTime() - lastRefresh.getTime()) / 1000);
 
-    if (diff < 180) {
+    if (diff < 7200) {
         _showSection(section);
     } else {
         refreshSections(function () {
@@ -750,7 +750,7 @@ function refreshSections(callback) {
         console.log('Sections loaded');
         SECTIONS = data;
         lastRefresh = new Date();
-        if (callback != undefined) {
+        if (callback !== undefined) {
             callback();
         }
     });