total5 0.0.6-1 → 0.0.6-2
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/builders.js +2 -4
- package/changelog.txt +2 -0
- package/global.js +1 -0
- package/package.json +1 -1
package/builders.js
CHANGED
|
@@ -1307,6 +1307,7 @@ ActionCaller.prototype.exec = function() {
|
|
|
1307
1307
|
$.user = self.options.user;
|
|
1308
1308
|
|
|
1309
1309
|
$.$callback = function(err, response) {
|
|
1310
|
+
|
|
1310
1311
|
if (err) {
|
|
1311
1312
|
// close
|
|
1312
1313
|
self.cancel();
|
|
@@ -1335,11 +1336,8 @@ ActionCaller.prototype.exec = function() {
|
|
|
1335
1336
|
if (action.permissions) {
|
|
1336
1337
|
let permissions = action.permissions.slice(0);
|
|
1337
1338
|
permissions.unshift($);
|
|
1338
|
-
if (F.unauthorized.apply(global, permissions))
|
|
1339
|
-
self.finish = null;
|
|
1340
|
-
self.cancel();
|
|
1339
|
+
if (F.unauthorized.apply(global, permissions))
|
|
1341
1340
|
return;
|
|
1342
|
-
}
|
|
1343
1341
|
}
|
|
1344
1342
|
|
|
1345
1343
|
var params = self.options.params || EMPTYOBJECT;
|
package/changelog.txt
CHANGED
package/global.js
CHANGED
|
@@ -61,6 +61,7 @@ global.MAIL = F.mail;
|
|
|
61
61
|
global.Mail = F.TMail.Mailer;
|
|
62
62
|
global.RESTBuilder = F.TBuilders.RESTBuilder;
|
|
63
63
|
global.ErrorBuilder = F.TBuilders.ErrorBuilder;
|
|
64
|
+
global.Image = F.TImage;
|
|
64
65
|
global.DOWNLOAD = F.download;
|
|
65
66
|
global.OPENCLIENT = (url, id) => require('./openclient').create(url, id);
|
|
66
67
|
global.NEWMACRO = (str, nocompile, isasync) => require('./macros').compile(str, nocompile, isasync);
|