Skip to content
This repository has been archived by the owner on Sep 15, 2018. It is now read-only.

Commit

Permalink
Fehler beim erstellen neuer Datensätez behoben (verursacht durch wind…
Browse files Browse the repository at this point in the history
…ow.open). SpeichereKoordinaten: Keine leeren posts mehr.
  • Loading branch information
Alexander Gabriel committed May 25, 2012
1 parent 02e7c6f commit cef2183
Show file tree
Hide file tree
Showing 8 changed files with 205 additions and 252 deletions.
4 changes: 2 additions & 2 deletions _attachments/BeobEdit.html
Expand Up @@ -116,7 +116,7 @@ <h2>Beobachtung</h2>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.BeobId) { } else if (!localStorage.Status && !localStorage.BeobId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("BeobListe.html"); $.mobile.changePage("BeobListe.html");
return; return;
Expand All @@ -137,7 +137,7 @@ <h2>Beobachtung</h2>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.BeobId) { } else if (!localStorage.Status && !localStorage.BeobId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("BeobListe.html"); $.mobile.changePage("BeobListe.html");
return; return;
Expand Down
4 changes: 2 additions & 2 deletions _attachments/FeldEdit.html
Expand Up @@ -195,7 +195,7 @@ <h2>Feldeigenschaften</h2>
if (localStorage.length === 0 || !localStorage.Username) { if (localStorage.length === 0 || !localStorage.Username) {
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
} else if (!localStorage.FeldId) { } else if (!localStorage.Status && !localStorage.FeldId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
geheZurueckFE(); geheZurueckFE();
} }
Expand All @@ -209,7 +209,7 @@ <h2>Feldeigenschaften</h2>
if (localStorage.length === 0 || !localStorage.Username) { if (localStorage.length === 0 || !localStorage.Username) {
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
} else if (!localStorage.FeldId) { } else if (!localStorage.Status && !localStorage.FeldId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("BeobListe.html"); $.mobile.changePage("BeobListe.html");
} }
Expand Down
4 changes: 2 additions & 2 deletions _attachments/hArtEdit.html
Expand Up @@ -97,7 +97,7 @@ <h1>Art</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.hBeobId) { } else if (!localStorage.Status && !localStorage.hBeobId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand All @@ -112,7 +112,7 @@ <h1>Art</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.hBeobId) { } else if (!localStorage.Status && !localStorage.hBeobId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand Down
4 changes: 2 additions & 2 deletions _attachments/hOrtEdit.html
Expand Up @@ -104,7 +104,7 @@ <h1>Ort</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.OrtId) { } else if (!localStorage.Status && !localStorage.OrtId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand All @@ -125,7 +125,7 @@ <h1>Ort</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.OrtId) { } else if (!localStorage.Status && !localStorage.OrtId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand Down
4 changes: 2 additions & 2 deletions _attachments/hProjektEdit.html
Expand Up @@ -89,7 +89,7 @@ <h1>Projekt</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.ProjektId) { } else if (!localStorage.Status && !localStorage.ProjektId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand All @@ -104,7 +104,7 @@ <h1>Projekt</h1>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.ProjektId) { } else if (!localStorage.Status && !localStorage.ProjektId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand Down
4 changes: 2 additions & 2 deletions _attachments/hRaumEdit.html
Expand Up @@ -91,7 +91,7 @@ <h2>Raum</h2>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.RaumId) { } else if (!localStorage.Status && !localStorage.RaumId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand All @@ -106,7 +106,7 @@ <h2>Raum</h2>
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
return; return;
} else if (!localStorage.RaumId) { } else if (!localStorage.Status && !localStorage.RaumId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
return; return;
Expand Down
4 changes: 2 additions & 2 deletions _attachments/hZeitEdit.html
Expand Up @@ -94,7 +94,7 @@ <h1>Zeit</h1>
if (localStorage.length === 0 || !localStorage.Username) { if (localStorage.length === 0 || !localStorage.Username) {
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
} else if (!localStorage.ZeitId) { } else if (!localStorage.Status && !localStorage.ZeitId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
} }
Expand All @@ -106,7 +106,7 @@ <h1>Zeit</h1>
if (localStorage.length === 0 || !localStorage.Username) { if (localStorage.length === 0 || !localStorage.Username) {
leereAlleVariabeln(); leereAlleVariabeln();
$.mobile.changePage("index.html"); $.mobile.changePage("index.html");
} else if (!localStorage.ZeitId) { } else if (!localStorage.Status && !localStorage.ZeitId) {
leereAlleVariabeln("ohneClear"); leereAlleVariabeln("ohneClear");
$.mobile.changePage("hProjektListe.html"); $.mobile.changePage("hProjektListe.html");
} }
Expand Down

0 comments on commit cef2183

Please sign in to comment.