mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Fixed upload bug introduced by new AngularJS in latest firmware
This commit is contained in:
parent
6653acdbbc
commit
84b4e75af9
@ -640,7 +640,7 @@ registerController('PortalAuthController', ['$api', '$scope', '$sce', '$interval
|
||||
$http.post("/modules/PortalAuth/api/module.php", fd, {
|
||||
transformRequest: angular.identity,
|
||||
headers: {'Content-Type': undefined}
|
||||
}).success(function(response) {
|
||||
}).then(function(response) {
|
||||
for (var key in response) {
|
||||
if (response.hasOwnProperty(key)) {
|
||||
if (response.key == "Failed") {
|
||||
|
||||
@ -6,5 +6,5 @@
|
||||
"tetra"
|
||||
],
|
||||
"title": "Portal Auth",
|
||||
"version": "1.4"
|
||||
"version": "1.5"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user