diff --git a/data1461898127177.fdf b/data1461898127177.fdf new file mode 100644 index 00000000..9f6d4baa --- /dev/null +++ b/data1461898127177.fdf @@ -0,0 +1,67 @@ +%FDF-1.2 +%âãÏÓ +1 0 obj +<< +/FDF +<< +/Fields [<< +/V(aeuoaeou) +/T(textfield 1458815121) +>><< +/V(aoue) +/T(textfield 1523785639) +>><< +/V(aoeuaeou) +/T(textfield 1688115162) +>><< +/V(aoeueoau) +/T(textfield 1157050326) +>><< +/V(aoueoaeuaoueeoaueaouaeouaeouaeouaoeuaoeueuaoaeou) +/T(textfield 1463000179) +>><< +/V() +/T(radio 787550015) +>><< +/V(aeouaoeu) +/T(textfield 1367065276) +>><< +/V(aoeuoeuaoeuaoueaoeu) +/T(textfield 302001252) +>><< +/V() +/T(checkbox 1420080456) +>><< +/V() +/T(radio 787819715) +>><< +/V() +/T(checkbox 782280334) +>><< +/V() +/T(checkbox 1977914846) +>><< +/V() +/T(checkbox 284150450) +>><< +/V() +/T(checkbox 336764222) +>><< +/V() +/T(checkbox 227255374) +>><< +/V() +/T(radio 1029379241) +>><< +/V() +/T(textfield 1998389145) +>>] +>> +>> +endobj +trailer + +<< +/Root 1 0 R +>> +%%EOF \ No newline at end of file diff --git a/data1461898174496.fdf b/data1461898174496.fdf new file mode 100644 index 00000000..9f6d4baa --- /dev/null +++ b/data1461898174496.fdf @@ -0,0 +1,67 @@ +%FDF-1.2 +%âãÏÓ +1 0 obj +<< +/FDF +<< +/Fields [<< +/V(aeuoaeou) +/T(textfield 1458815121) +>><< +/V(aoue) +/T(textfield 1523785639) +>><< +/V(aoeuaeou) +/T(textfield 1688115162) +>><< +/V(aoeueoau) +/T(textfield 1157050326) +>><< +/V(aoueoaeuaoueeoaueaouaeouaeouaeouaoeuaoeueuaoaeou) +/T(textfield 1463000179) +>><< +/V() +/T(radio 787550015) +>><< +/V(aeouaoeu) +/T(textfield 1367065276) +>><< +/V(aoeuoeuaoeuaoueaoeu) +/T(textfield 302001252) +>><< +/V() +/T(checkbox 1420080456) +>><< +/V() +/T(radio 787819715) +>><< +/V() +/T(checkbox 782280334) +>><< +/V() +/T(checkbox 1977914846) +>><< +/V() +/T(checkbox 284150450) +>><< +/V() +/T(checkbox 336764222) +>><< +/V() +/T(checkbox 227255374) +>><< +/V() +/T(radio 1029379241) +>><< +/V() +/T(textfield 1998389145) +>>] +>> +>> +endobj +trailer + +<< +/Root 1 0 R +>> +%%EOF \ No newline at end of file diff --git a/public/application.js b/public/application.js index ea959d1c..572ce81a 100755 --- a/public/application.js +++ b/public/application.js @@ -43,9 +43,9 @@ angular.module(ApplicationConfiguration.applicationModuleName).run(['$rootScope' $state.go('listForms'); // go to listForms page } } - //Redirect to 'home' route if user is not authenticated + //Redirect to 'signup' route if user is not authenticated else if(toState.name !== 'access_denied' && !Auth.isAuthenticated() && toState.name !== 'submitForm'){ - console.log('go to home'); + console.log('go to signup'); event.preventDefault(); // stop current execution $state.go('listForms'); // go to listForms page } diff --git a/public/modules/forms/config/forms.client.config.js b/public/modules/forms/config/forms.client.config.js index 6ed2cac1..ed15ac88 100644 --- a/public/modules/forms/config/forms.client.config.js +++ b/public/modules/forms/config/forms.client.config.js @@ -6,8 +6,7 @@ angular.module('forms').run(['Menus', // Set top bar menu items Menus.addMenuItem('topbar', 'My Forms', 'forms', '', '/forms', false); } -]) -.filter('formValidity', +]).filter('formValidity', function(){ return function(formObj){ if(formObj && formObj.form_fields && formObj.visible_form_fields){ diff --git a/public/modules/forms/config/forms.client.routes.js b/public/modules/forms/config/forms.client.routes.js index 8cb8c3d4..5e5f44c6 100644 --- a/public/modules/forms/config/forms.client.routes.js +++ b/public/modules/forms/config/forms.client.routes.js @@ -14,13 +14,13 @@ angular.module('forms').config(['$stateProvider', url: '/forms/:formId', templateUrl: 'modules/forms/views/submit-form.client.view.html', data: { - hideNav: true, + hideNav: true }, resolve: { Forms: 'Forms', myForm: function (Forms, $stateParams) { return Forms.get({formId: $stateParams.formId}).$promise; - }, + } }, controller: 'SubmitFormController', controllerAs: 'ctrl' @@ -34,7 +34,7 @@ angular.module('forms').config(['$stateProvider', Forms: 'Forms', myForm: function (Forms, $stateParams) { return Forms.get({formId: $stateParams.formId}).$promise; - }, + } }, controller: 'AdminFormController' }).state('viewForm.configure', {