Löschfunktion vollständigimplementiert.
This commit is contained in:
parent
5b51b8b31f
commit
4fdd18bb11
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8
platforms/android/.idea/workspace.xml
generated
8
platforms/android/.idea/workspace.xml
generated
@ -66,7 +66,7 @@
|
||||
<entry file="file://$PROJECT_DIR$/assets/www/js/controllers.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="421" column="0" selection-start-line="421" selection-start-column="0" selection-end-line="421" selection-end-column="0" />
|
||||
<caret line="452" column="0" selection-start-line="452" selection-start-column="0" selection-end-line="452" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
@ -1264,7 +1264,7 @@
|
||||
</option>
|
||||
<option name="modificationStamps">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="5817820619913" />
|
||||
<entry key="$PROJECT_DIR$" value="5817827086448" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="projectBuildClasspath">
|
||||
@ -1896,7 +1896,7 @@
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.57310706" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.57310706" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Build Variants" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Palette	" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
||||
@ -1978,7 +1978,7 @@
|
||||
<entry file="file://$PROJECT_DIR$/assets/www/js/controllers.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="421" column="0" selection-start-line="421" selection-start-column="0" selection-end-line="421" selection-end-column="0" />
|
||||
<caret line="452" column="0" selection-start-line="452" selection-start-column="0" selection-end-line="452" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
angular.module('starter.controllers', [])
|
||||
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$http,$filter) {
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$filter) {
|
||||
|
||||
$scope.preis="";
|
||||
$scope.name="";
|
||||
@ -379,19 +379,9 @@ $scope.show = function() {
|
||||
|
||||
})
|
||||
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout) {
|
||||
|
||||
/*
|
||||
$scope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout,$cordovaFile,$ionicPopup) {
|
||||
|
||||
|
||||
if ($location.path() == "/tab/buys") {
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 1000);
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
$scope.$on( "$ionicView.enter", function( scopes, states ) {
|
||||
$scope.show($ionicLoading);
|
||||
@ -425,6 +415,48 @@ $scope.show = function() {
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.deleteBuy = function(id,imagefile) {
|
||||
|
||||
$ionicPopup.confirm({
|
||||
title: 'System-Hinweis',
|
||||
template: 'Möchten Sie das Bild wirklich löschen?'
|
||||
})
|
||||
.then(function(res) {
|
||||
|
||||
if (res) {
|
||||
//Dateien Löschen im Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.applicationStorageDirectory, imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
//Dateien Löschen im Public-Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.externalRootDirectory + "/WolleRosenKaufen", imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
|
||||
//Datenbank-eintrag löschen
|
||||
$database.deleteBuy(id);
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 300);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$scope.showImages = function(imagesrc) {
|
||||
$scope.imagesrc=imagesrc;
|
||||
$scope.showModal('templates/image-popover.html');
|
||||
|
||||
@ -71,6 +71,16 @@ angular.module('starter.services', [])
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
deleteBuy: function(id) {
|
||||
query="DELETE FROM buys WHERE ID = ?;";
|
||||
return $cordovaSQLite.execute(self.db,query,[id]).
|
||||
then(function(result) {
|
||||
console.log("Gelöscht");
|
||||
query=null;
|
||||
}, function(error) {
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
getAllBuys: function(){
|
||||
var ArrayQ=[];
|
||||
query="SELECT * FROM buys order by id DESC";
|
||||
@ -79,6 +89,7 @@ angular.module('starter.services', [])
|
||||
for(j=0;j<result.rows.length;j++){
|
||||
var List={};
|
||||
//console.log(result.rows.item(j));
|
||||
List.id=result.rows.item(j).id;
|
||||
List.name=result.rows.item(j).Name;
|
||||
List.bild=result.rows.item(j).Bild;
|
||||
List.bildtext=result.rows.item(j).Bildtext;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="list card">
|
||||
<div class="item item-avatar"> <img ng-src="{{i.appimgpublicpath}}">
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">{{i.kaufdatum}}</div>
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">Erstellt am: {{i.kaufdatum}}</div>
|
||||
</div>
|
||||
|
||||
<div class="item item-body">
|
||||
@ -20,7 +20,7 @@
|
||||
<ion-item>
|
||||
|
||||
<div class="item tabs tabs-secondary tabs-icon-left">
|
||||
<a href="#" class="tab-item"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item"ng-click="deleteBuy(i.id,i.bild)"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item" ng-click="showImages(i.appimgpublicpath)"><i class="icon ion-android-image button-custom"></i>Anzeigen</a>
|
||||
<a href="#" class="tab-item"><i class="icon ion-share button-custom"></i>Teilen</a>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
angular.module('starter.controllers', [])
|
||||
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$http,$filter) {
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$filter) {
|
||||
|
||||
$scope.preis="";
|
||||
$scope.name="";
|
||||
@ -379,19 +379,9 @@ $scope.show = function() {
|
||||
|
||||
})
|
||||
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout) {
|
||||
|
||||
/*
|
||||
$scope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout,$cordovaFile,$ionicPopup) {
|
||||
|
||||
|
||||
if ($location.path() == "/tab/buys") {
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 1000);
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
$scope.$on( "$ionicView.enter", function( scopes, states ) {
|
||||
$scope.show($ionicLoading);
|
||||
@ -425,6 +415,48 @@ $scope.show = function() {
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.deleteBuy = function(id,imagefile) {
|
||||
|
||||
$ionicPopup.confirm({
|
||||
title: 'System-Hinweis',
|
||||
template: 'Möchten Sie das Bild wirklich löschen?'
|
||||
})
|
||||
.then(function(res) {
|
||||
|
||||
if (res) {
|
||||
//Dateien Löschen im Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.applicationStorageDirectory, imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
//Dateien Löschen im Public-Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.externalRootDirectory + "/WolleRosenKaufen", imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
|
||||
//Datenbank-eintrag löschen
|
||||
$database.deleteBuy(id);
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 300);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$scope.showImages = function(imagesrc) {
|
||||
$scope.imagesrc=imagesrc;
|
||||
$scope.showModal('templates/image-popover.html');
|
||||
|
||||
@ -71,6 +71,16 @@ angular.module('starter.services', [])
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
deleteBuy: function(id) {
|
||||
query="DELETE FROM buys WHERE ID = ?;";
|
||||
return $cordovaSQLite.execute(self.db,query,[id]).
|
||||
then(function(result) {
|
||||
console.log("Gelöscht");
|
||||
query=null;
|
||||
}, function(error) {
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
getAllBuys: function(){
|
||||
var ArrayQ=[];
|
||||
query="SELECT * FROM buys order by id DESC";
|
||||
@ -79,6 +89,7 @@ angular.module('starter.services', [])
|
||||
for(j=0;j<result.rows.length;j++){
|
||||
var List={};
|
||||
//console.log(result.rows.item(j));
|
||||
List.id=result.rows.item(j).id;
|
||||
List.name=result.rows.item(j).Name;
|
||||
List.bild=result.rows.item(j).Bild;
|
||||
List.bildtext=result.rows.item(j).Bildtext;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="list card">
|
||||
<div class="item item-avatar"> <img ng-src="{{i.appimgpublicpath}}">
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">{{i.kaufdatum}}</div>
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">Erstellt am: {{i.kaufdatum}}</div>
|
||||
</div>
|
||||
|
||||
<div class="item item-body">
|
||||
@ -20,7 +20,7 @@
|
||||
<ion-item>
|
||||
|
||||
<div class="item tabs tabs-secondary tabs-icon-left">
|
||||
<a href="#" class="tab-item"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item"ng-click="deleteBuy(i.id,i.bild)"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item" ng-click="showImages(i.appimgpublicpath)"><i class="icon ion-android-image button-custom"></i>Anzeigen</a>
|
||||
<a href="#" class="tab-item"><i class="icon ion-share button-custom"></i>Teilen</a>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
angular.module('starter.controllers', [])
|
||||
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$http,$filter) {
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$filter) {
|
||||
|
||||
$scope.preis="";
|
||||
$scope.name="";
|
||||
@ -379,19 +379,9 @@ $scope.show = function() {
|
||||
|
||||
})
|
||||
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout) {
|
||||
|
||||
/*
|
||||
$scope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout,$cordovaFile,$ionicPopup) {
|
||||
|
||||
|
||||
if ($location.path() == "/tab/buys") {
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 1000);
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
$scope.$on( "$ionicView.enter", function( scopes, states ) {
|
||||
$scope.show($ionicLoading);
|
||||
@ -425,6 +415,48 @@ $scope.show = function() {
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.deleteBuy = function(id,imagefile) {
|
||||
|
||||
$ionicPopup.confirm({
|
||||
title: 'System-Hinweis',
|
||||
template: 'Möchten Sie das Bild wirklich löschen?'
|
||||
})
|
||||
.then(function(res) {
|
||||
|
||||
if (res) {
|
||||
//Dateien Löschen im Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.applicationStorageDirectory, imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
//Dateien Löschen im Public-Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.externalRootDirectory + "/WolleRosenKaufen", imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
|
||||
//Datenbank-eintrag löschen
|
||||
$database.deleteBuy(id);
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 300);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$scope.showImages = function(imagesrc) {
|
||||
$scope.imagesrc=imagesrc;
|
||||
$scope.showModal('templates/image-popover.html');
|
||||
|
||||
@ -71,6 +71,16 @@ angular.module('starter.services', [])
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
deleteBuy: function(id) {
|
||||
query="DELETE FROM buys WHERE ID = ?;";
|
||||
return $cordovaSQLite.execute(self.db,query,[id]).
|
||||
then(function(result) {
|
||||
console.log("Gelöscht");
|
||||
query=null;
|
||||
}, function(error) {
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
getAllBuys: function(){
|
||||
var ArrayQ=[];
|
||||
query="SELECT * FROM buys order by id DESC";
|
||||
@ -79,6 +89,7 @@ angular.module('starter.services', [])
|
||||
for(j=0;j<result.rows.length;j++){
|
||||
var List={};
|
||||
//console.log(result.rows.item(j));
|
||||
List.id=result.rows.item(j).id;
|
||||
List.name=result.rows.item(j).Name;
|
||||
List.bild=result.rows.item(j).Bild;
|
||||
List.bildtext=result.rows.item(j).Bildtext;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="list card">
|
||||
<div class="item item-avatar"> <img ng-src="{{i.appimgpublicpath}}">
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">{{i.kaufdatum}}</div>
|
||||
<h2> <div class="oleo">{{i.name}}</div> </h2><div class="oleo-vsmall">Erstellt am: {{i.kaufdatum}}</div>
|
||||
</div>
|
||||
|
||||
<div class="item item-body">
|
||||
@ -20,7 +20,7 @@
|
||||
<ion-item>
|
||||
|
||||
<div class="item tabs tabs-secondary tabs-icon-left">
|
||||
<a href="#" class="tab-item"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item"ng-click="deleteBuy(i.id,i.bild)"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item" ng-click="showImages(i.appimgpublicpath)"><i class="icon ion-android-image button-custom"></i>Anzeigen</a>
|
||||
<a href="#" class="tab-item"><i class="icon ion-share button-custom"></i>Teilen</a>
|
||||
</div>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -18,7 +18,7 @@ document.getElementById(id+'Link').style.display = 'none';
|
||||
<body>
|
||||
<h1>Lint Report</h1>
|
||||
<div class="titleSeparator"></div>
|
||||
Check performed at Wed Feb 03 12:52:32 CET 2016.<br/>
|
||||
Check performed at Wed Feb 03 13:46:44 CET 2016.<br/>
|
||||
6 errors and 0 warnings found:<br/><br/>
|
||||
<table class="overview">
|
||||
<tr><td></td><td class="categoryColumn"><a href="#Correctness">Correctness</a>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
angular.module('starter.controllers', [])
|
||||
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$http,$filter) {
|
||||
.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state,$filter) {
|
||||
|
||||
$scope.preis="";
|
||||
$scope.name="";
|
||||
@ -375,23 +375,11 @@ $scope.show = function() {
|
||||
* Rosen konsuieren ENDE
|
||||
*/
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout) {
|
||||
|
||||
/*
|
||||
$scope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {
|
||||
.controller('BuysCtrl', function($scope, $database,$location,$ionicModal,$ionicLoading,$timeout,$cordovaFile,$ionicPopup) {
|
||||
|
||||
|
||||
if ($location.path() == "/tab/buys") {
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 1000);
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
$scope.$on( "$ionicView.enter", function( scopes, states ) {
|
||||
$scope.show($ionicLoading);
|
||||
@ -425,6 +413,48 @@ $scope.show = function() {
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.deleteBuy = function(id,imagefile) {
|
||||
|
||||
$ionicPopup.confirm({
|
||||
title: 'System-Hinweis',
|
||||
template: 'Möchten Sie das Bild wirklich löschen?'
|
||||
})
|
||||
.then(function(res) {
|
||||
|
||||
if (res) {
|
||||
//Dateien Löschen im Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.applicationStorageDirectory, imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
//Dateien Löschen im Public-Programmpfad
|
||||
$cordovaFile.removeFile(cordova.file.externalRootDirectory + "/WolleRosenKaufen", imagefile)
|
||||
.then(function (success) {
|
||||
// success
|
||||
}, function (error) {
|
||||
// error
|
||||
});
|
||||
|
||||
|
||||
//Datenbank-eintrag löschen
|
||||
$database.deleteBuy(id);
|
||||
$scope.show($ionicLoading);
|
||||
$timeout(fill_list, 300);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$scope.showImages = function(imagesrc) {
|
||||
$scope.imagesrc=imagesrc;
|
||||
$scope.showModal('templates/image-popover.html');
|
||||
|
||||
@ -71,6 +71,16 @@ angular.module('starter.services', [])
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
deleteBuy: function(id) {
|
||||
query="DELETE FROM buys WHERE ID = ?;";
|
||||
return $cordovaSQLite.execute(self.db,query,[id]).
|
||||
then(function(result) {
|
||||
console.log("Gelöscht");
|
||||
query=null;
|
||||
}, function(error) {
|
||||
console.error(error);
|
||||
});
|
||||
},
|
||||
getAllBuys: function(){
|
||||
var ArrayQ=[];
|
||||
query="SELECT * FROM buys order by id DESC";
|
||||
@ -79,6 +89,7 @@ angular.module('starter.services', [])
|
||||
for(j=0;j<result.rows.length;j++){
|
||||
var List={};
|
||||
//console.log(result.rows.item(j));
|
||||
List.id=result.rows.item(j).id;
|
||||
List.name=result.rows.item(j).Name;
|
||||
List.bild=result.rows.item(j).Bild;
|
||||
List.bildtext=result.rows.item(j).Bildtext;
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<ion-item>
|
||||
|
||||
<div class="item tabs tabs-secondary tabs-icon-left">
|
||||
<a href="#" class="tab-item"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item"ng-click="deleteBuy(i.id,i.bild)"><i class="icon ion-trash-a button-custom"></i>Löschen</a>
|
||||
<a href="#" class="tab-item" ng-click="showImages(i.appimgpublicpath)"><i class="icon ion-android-image button-custom"></i>Anzeigen</a>
|
||||
<a href="#" class="tab-item"><i class="icon ion-share button-custom"></i>Teilen</a>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user