diff --git a/pages/registration.html b/pages/registration.html
index 30fe58b..c6fbf40 100644
--- a/pages/registration.html
+++ b/pages/registration.html
@@ -104,6 +104,7 @@
+
diff --git a/script.js b/script.js
index 93d9178..9e4b8d4 100644
--- a/script.js
+++ b/script.js
@@ -655,7 +655,7 @@
reader.onload = function(readerEvt) {
var binaryString = readerEvt.target.result;
$scope.base64textString = btoa(binaryString);
- console.log("base64textarea",$scope.base64textString)
+ //console.log("base64textarea",$scope.base64textString)
$scope.data.uploadFile = file.name;
};
@@ -716,7 +716,12 @@
$scope.submit = function() {
- $scope.ticketAmnt = 500;
+ $scope.fileSelect = false;
+ if($scope.data.uploadFile == null){
+ $scope.fileSelect = true;
+ }else{
+ $scope.fileSelect = false;
+ $scope.ticketAmnt = 500;
// if($scope.tokencheck == false){
// $scope.data.referalToken = null;
// }
@@ -849,6 +854,8 @@
}, function myError(error) {
});
+
+ }
// })