mirror of
https://github.com/openfaas/faas.git
synced 2025-06-17 12:46:59 +00:00
upgraded angularjs from 1.5.5 to 1.6.9
The $https service deprecated the `success` method, so changed `success` to `then`. This will fix #528 Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This commit is contained in:
parent
29bb3aa7c6
commit
365e348865
@ -172,10 +172,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-animate.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-animate.min.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-aria.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-aria.min.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-messages.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-messages.min.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.4/angular-material.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.4/angular-material.min.js"></script>
|
||||||
<script src="script/funcstore.js"></script>
|
<script src="script/funcstore.js"></script>
|
||||||
<script src="script/bootstrap.js"></script>
|
<script src="script/bootstrap.js"></script>
|
||||||
|
6
gateway/assets/script/bootstrap.js
vendored
6
gateway/assets/script/bootstrap.js
vendored
@ -91,9 +91,9 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
|
|||||||
}
|
}
|
||||||
|
|
||||||
$http(options)
|
$http(options)
|
||||||
.success(function (data, status, headers) {
|
.then(function (response) {
|
||||||
|
var data = response.data;
|
||||||
var headerMap = headers();
|
var status = response.status;
|
||||||
|
|
||||||
if($scope.invocation.contentType == "binary") {
|
if($scope.invocation.contentType == "binary") {
|
||||||
var filename = uuidv4();
|
var filename = uuidv4();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user