We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc908b commit 4a679deCopy full SHA for 4a679de
js/controller.js
@@ -67,8 +67,8 @@ app.controller('nc', function($scope) {
67
machine.other.files.push({"name":"", "contents":""});
68
};
69
70
- $scope.removeGateway = function(machine) {
71
- if(machine.other.fileCounter>1 && confirm("Are you sure you want to remove the file?")) {
+ $scope.removeFile = function(machine) {
+ if(machine.other.fileCounter>0 && confirm("Are you sure you want to remove the file?")) {
72
machine.other.files.pop();
73
machine.other.fileCounter--;
74
}
0 commit comments