merged public/application.js

This commit is contained in:
David Baldwynn 2016-04-28 19:55:15 -07:00
commit 54971236a3
5 changed files with 140 additions and 7 deletions

67
data1461898127177.fdf Normal file
View file

@ -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

67
data1461898174496.fdf Normal file
View file

@ -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

View file

@ -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
}

View file

@ -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){

View file

@ -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', {