Google-Store Kauf funktionstuechtig, Dialoge geadded.

This commit is contained in:
2016-01-21 22:37:56 +01:00
parent 7c683d7450
commit 3333e9eb4a
174 changed files with 3896 additions and 263 deletions

View File

@@ -14,6 +14,10 @@ angular.module('starter', ['ionic', 'ngCordova', 'starter.controllers', 'starter
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
$rootScope.storeinit=99;
$ionicPlatform.registerBackButtonAction(function(event) {
// Handle Android back button to avoid the application exits accidentaly
@@ -56,6 +60,7 @@ angular.module('starter', ['ionic', 'ngCordova', 'starter.controllers', 'starter
function successHandler (result) {
/*
var strResult = "";
if(typeof result === 'object') {
strResult = JSON.stringify(result);
@@ -63,10 +68,13 @@ angular.module('starter', ['ionic', 'ngCordova', 'starter.controllers', 'starter
strResult = result;
}
alert("SUCCESS: \r\n"+strResult );
*/
$rootScope.storeinit=1;
}
function errorHandler (error) {
alert("ERROR: \r\n"+error );
//alert("ERROR: \r\n"+error );
$rootScope.storeinit=0;
}