BuyTab mit kaufen gefuellt.
This commit is contained in:
@@ -68,7 +68,7 @@ angular.module('starter.controllers', [])
|
||||
// Save location
|
||||
//var targetPath = cordova.file.externalRootDirectory + filename;
|
||||
var targetPath = cordova.file.applicationStorageDirectory + filename;
|
||||
var targetpublicPath = $scope.filename, cordova.file.externalRootDirectory + "/WolleRosenKaufen/" + filename;
|
||||
var targetpublicPath = cordova.file.externalRootDirectory + "/WolleRosenKaufen/" + filename;
|
||||
|
||||
$scope.targetPath='';
|
||||
$scope.targetPath=targetPath;
|
||||
@@ -82,7 +82,7 @@ angular.module('starter.controllers', [])
|
||||
$scope.items.push($scope.item);
|
||||
|
||||
//itemName,itemBild,itemBildtext,itemKaufdatum,itemappimgpath,itemappimgpublicpath
|
||||
$database.setBuys($scope.name,$scope.filename,$scope.freitext,'','','');
|
||||
$database.setBuys($scope.name,$scope.filename,$scope.freitext,'','', $scope.targetpublicPath);
|
||||
//Ordner erstellen auf SD-Karte
|
||||
$cordovaFile.createDir(cordova.file.externalRootDirectory, "WolleRosenKaufen", false)
|
||||
.then(function (success) {
|
||||
@@ -153,7 +153,6 @@ angular.module('starter.controllers', [])
|
||||
|
||||
$scope.buyRose = function() {
|
||||
|
||||
//alert($scope.preis);
|
||||
|
||||
if((window.device && device.platform == "Android") && typeof inappbilling !== "undefined") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user