diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js b/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js index 2a1748e5..3f64841d 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js +++ b/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -(function() { +(function () { 'use strict'; /** @@ -41,8 +41,8 @@ return directive; function link(scope, element, attrs) { - element.bind("change", function(changeEvent) { - scope.$apply(function() { + element.bind("change", function (changeEvent) { + scope.$apply(function () { scope.fileUpload = changeEvent.target.files[0]; }); }); |