diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/controllers/importexport.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/js/controllers/importexport.js b/js/controllers/importexport.js index b9a90c7..5ea9756 100644 --- a/js/controllers/importexport.js +++ b/js/controllers/importexport.js @@ -51,7 +51,7 @@ redirectorApp.config([   		reader.onload = function(e) {   			var data;   			try { -	 			var data = JSON.parse(reader.result); +	 			data = JSON.parse(reader.result);   			} catch(e) {   				$s.showMessage('Failed to parse JSON data, invalid JSON: ' + (e.message||'').substr(0,100));  	 			return $s.$parent.$apply(); @@ -107,4 +107,4 @@ redirectorApp.config([   	}   	$s.updateExportLink(); //Run once so the a will have a href to begin with -}]);
\ No newline at end of file +}]); | 
