@ardimedia/angular-portal-azure 0.2.243 → 0.2.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.js +12 -5
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1138,12 +1138,14 @@ var angularportalazure;
|
|
|
1138
1138
|
this.onSaveItem();
|
|
1139
1139
|
// Is form valid
|
|
1140
1140
|
if (!this.formblade.$valid) {
|
|
1141
|
-
this.statusBar = 'Speichern nicht möglich!';
|
|
1141
|
+
this.statusBar = 'Speichern nicht möglich! [Console] enthält weitere Informationen.';
|
|
1142
1142
|
this.statusBarClass = 'apa-statusbar-error';
|
|
1143
1143
|
console.log(this.formblade);
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
1146
|
func().then(function (data) {
|
|
1147
|
+
console.log('inside saveItem. returned data from function:');
|
|
1148
|
+
console.log(data);
|
|
1147
1149
|
_this.item = data;
|
|
1148
1150
|
_this.onSavedItem();
|
|
1149
1151
|
}).catch(function (exception) {
|
|
@@ -1471,10 +1473,15 @@ var angularportalazure;
|
|
|
1471
1473
|
var exception = new angularportalazure.Exception();
|
|
1472
1474
|
//#region Convert data to Messages
|
|
1473
1475
|
exception.Messages = [];
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1476
|
+
if (response.data.Data === undefined) {
|
|
1477
|
+
exception.Messages.push('No further information found in [response.data.Data].');
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
var i = 1;
|
|
1481
|
+
while (response.data.Data[i + ''] !== undefined) {
|
|
1482
|
+
exception.Messages.push(response.data.Data[i + '']);
|
|
1483
|
+
i++;
|
|
1484
|
+
}
|
|
1478
1485
|
}
|
|
1479
1486
|
//#endregion
|
|
1480
1487
|
return exception;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.245",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|