<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/shield.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/shield.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/bureau.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/bureau.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/chambre.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/chambre.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/cour.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/cour.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/cuisine.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/cuisine.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/default.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/default.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/entree.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/entree.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/litjerome.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/litjerome.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/litvincent.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/litvincent.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/salon.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/salon.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/sdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/sdb.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/js/cordova.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/cordova.js" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/style/menu.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/menu.less" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/style/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.css" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/style/style.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.less" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1605531884401" duration="829000" />
<workItem from="1605542056704" duration="1640000" />
<workItem from="1605597648537" duration="7658000" />
- <workItem from="1605690676577" duration="2168000" />
- </task>
- <task id="LOCAL-00356" summary=".">
- <created>1603961859961</created>
- <option name="number" value="00356" />
- <option name="presentableId" value="LOCAL-00356" />
- <option name="project" value="LOCAL" />
- <updated>1603961859962</updated>
+ <workItem from="1605690676577" duration="7108000" />
</task>
<task id="LOCAL-00357" summary=".">
<created>1604143127017</created>
<option name="project" value="LOCAL" />
<updated>1605694444186</updated>
</task>
- <option name="localTasksCounter" value="405" />
+ <task id="LOCAL-00405" summary=".">
+ <created>1605696730817</created>
+ <option name="number" value="00405" />
+ <option name="presentableId" value="LOCAL-00405" />
+ <option name="project" value="LOCAL" />
+ <updated>1605696730817</updated>
+ </task>
+ <option name="localTasksCounter" value="406" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
</state>
<state x="740" y="229" key="#com.jetbrains.php.refactoring.extractMethod.PhpExtractMethodDialog#function0/0.0.1707.920@0.0.1707.920" timestamp="1604146905948" />
<state x="1110" y="259" key="#com.jetbrains.php.refactoring.extractMethod.PhpExtractMethodDialog#function0/0.0.2560.1040@0.0.2560.1040" timestamp="1605437484620" />
- <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1605694440464">
+ <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1605696727985">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="132" y="0" width="737" height="502" key="CommitChangelistDialog2/0.0.1707.920@0.0.1707.920" timestamp="1605086955514" />
<state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1605188136787" />
- <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1605694440464" />
- <state x="952" y="244" key="FileChooserDialogImpl" timestamp="1605104496549">
+ <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1605696727985" />
+ <state x="952" y="244" key="FileChooserDialogImpl" timestamp="1605726960903">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="635" y="216" key="FileChooserDialogImpl/0.0.1707.920@0.0.1707.920" timestamp="1604227698339" />
- <state x="952" y="244" key="FileChooserDialogImpl/0.0.2560.1040@0.0.2560.1040" timestamp="1605104496549" />
+ <state x="952" y="244" key="FileChooserDialogImpl/0.0.2560.1040@0.0.2560.1040" timestamp="1605726960903" />
<state x="1114" y="443" key="NewPhpFileDialog" timestamp="1605344146097">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<screen x="0" y="0" width="1707" height="920" />
</state>
<state width="498" height="446" key="SwitcherDM/0.0.1707.920@0.0.1707.920" timestamp="1604228166964" />
- <state x="872" y="240" key="Vcs.Push.Dialog.v2" timestamp="1605436593809">
+ <state x="872" y="240" key="Vcs.Push.Dialog.v2" timestamp="1605696715323">
<screen x="0" y="0" width="2560" height="1040" />
</state>
- <state x="872" y="240" key="Vcs.Push.Dialog.v2/0.0.2560.1040@0.0.2560.1040" timestamp="1605436593809" />
+ <state x="872" y="240" key="Vcs.Push.Dialog.v2/0.0.2560.1040@0.0.2560.1040" timestamp="1605696715323" />
<state x="295" y="0" width="1290" height="907" key="dock-window-1" timestamp="1603274697406">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="295" y="0" width="1290" height="907" key="dock-window-1/0.0.2560.1040@0.0.2560.1040" timestamp="1603274697406" />
- <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1605598576899">
+ <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1605727985438">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="651" y="227" width="550" height="534" key="find.popup/0.0.1707.920@0.0.1707.920" timestamp="1604301949692" />
- <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1605598576899" />
+ <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1605727985438" />
<state x="1056" y="292" key="refactoring.ChangeSignatureDialog" timestamp="1604518096294">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<url>file://$PROJECT_DIR$/scripts/lib/freebox.php</url>
<option name="timeStamp" value="2" />
</line-breakpoint>
- <line-breakpoint enabled="true" type="php">
- <url>file://$PROJECT_DIR$/scripts/lib/shield.php</url>
- <line>229</line>
- <option name="timeStamp" value="3" />
- </line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>
-document.addEventListener("deviceready", onDeviceReady, false);
+var DEVICE_READY_BEFORE_JQUERY = false;
+var JQUERY_READY = false;
+var cordovaInitInterval;
+document.addEventListener('deviceready', _onDeviceReady, false);
+
+function _onDeviceReady() {
+ if (JQUERY_READY) {
+ onDeviceReady();
+ } else {
+ DEVICE_READY_BEFORE_JQUERY = true;
+ }
+}
+
+$(function () {
+ JQUERY_READY = true;
+ if (DEVICE_READY_BEFORE_JQUERY) {
+ onDeviceReady();
+ }
+});
function onDeviceReady() {
- initCordova();
+ cordovaInitInterval = setInterval(function () {
+ if (window.cordova) {
+ clearInterval(cordovaInitInterval);
+ initCordova();
+ }
+ }, 500);
}
function initCordova() {
} catch (e) {
console.log(e);
}
- //
- // try {
- // if (location.host === 'home.tortuga.enhydra.fr') {
- // var last = localStorage.getItem('lastconfig');
- // if (last === null) {
- // last = 'salon';
- // }
- // location.host = last + '.home.tortuga.enhydra.fr';
- // } else {
- // var e = location.host.split('.');
- // localStorage.setItem('lastconfig', e[0]);
- // }
- // } catch (e) {
- //
- // }
-
try {
window.plugins.intentShim.onIntent(function (intent) {