Commit graph

364 commits

Author SHA1 Message Date
rjy7
a5f9d133c0 NIHVIVO-377 When a custom form fails validation due to a missing organization, the server generates an error appropriate to the non-Javascript version of the form, and the Javascript then modifies it for the Javascript version of the form. 2010-04-14 21:28:11 +00:00
rjy7
1f2b200320 Improved custom form behavior so after returning from a failed submission due to validation errors, we can return to the view we were on, without attempting to detect that from the organization input field data (since if all three fields are empty we cannot determine the previous view). 2010-04-14 20:33:42 +00:00
rjy7
34e80cff4e Merging r447 through r448 (Brian Caruso's custom form validation code) from rel-1.0-maint 2010-04-14 18:48:12 +00:00
rjy7
010a143880 Merging revision 474 from rel-1.0-maint. 2010-04-13 23:24:35 +00:00
rjy7
83d1b564ef NIHVIVO-377 Initial work on getting custom form to retrieve its past state after a failed form submission. Not all cases working yet. 2010-04-13 23:05:28 +00:00
rjy7
b8ccb8d9ef Improvements to handling of required hints in customForm.js 2010-04-13 18:50:38 +00:00
rjy7
c95976fbc6 Merging changes from rel-1.0-maint branch. 2010-04-13 14:44:31 +00:00
rjy7
888607cf39 NIHVIVO-360 Merge changes from rel-1.0-maint branch: Fixed custom form javascript so required hint spans get removed on cancel in IE. IE transforms the text inserted in the html() call, so a string replace was not removing them. 2010-04-12 23:49:23 +00:00
rjy7
a8b39bf005 NIHVIVO-356, NIHVIVO-362 Merging custom form fixes from rel-1.0-maint branch. 2010-04-12 21:26:09 +00:00
rjy7
f65c491deb NIHVIVO-356 Merge from rel-1.0-maint branch: Change activity form to use vitro ns description property instead of vivo core description property 2010-04-12 18:15:39 +00:00
rjy7
be6c40510b Merge small change to customForm.js into trunk 2010-04-09 16:42:14 +00:00
rjy7
e3efdfcaf6 Changed field label from "Name" to "Activity Name" on custom activity form. Remove unused Javascript files. 2010-04-06 15:03:51 +00:00
rjy7
67c28b9e92 NIHVIVO-292 Fixed error when creating new professional service activity 2010-04-05 18:39:05 +00:00
rjy7
2fd8efcbca NIHVIVO-291 Added validator to position type to fix position-type related bugs 2010-04-05 17:51:17 +00:00
rjy7
89380115b5 NIHVIVO-195 First draft of custom short view for activities (service, teaching, research, and outreach) 2010-04-05 17:16:31 +00:00
rjy7
1663e9ff2d NIHVIVO-195 Custom activity forms basically working now. 2010-04-05 15:27:20 +00:00
nac26
cb2760c1bd NIHVIVO-195 Removed rogue <h1> on line 251 2010-04-05 15:01:37 +00:00
rjy7
2d9a10ccea NIHVIVO-195 Working on custom activity forms. Markup is screwed up and form doesn't submit yet. 2010-04-05 14:30:49 +00:00
nac26
f5fcc3ecb9 NIHVIVO-194 changed "close" text when adding new organization to "cancel" 2010-04-05 05:09:21 +00:00
rjy7
138b1b4bd0 NIHVIVO-193, NIHVIVO-194 Comments 2010-04-05 02:34:27 +00:00
rjy7
5f428364a2 NIHVIVO-193 On step 1 of position history form, don't show Continue button. Instead, bind the event listener that opens the rest of the form to a selection from the org drop-down. 2010-04-04 22:56:35 +00:00
rjy7
f2a9ddd219 NIHVIVO-193, NIHVIVO-194. Javascript tweaks 2010-04-04 22:21:39 +00:00
rjy7
01deac8aa7 NIHVIVO-194. Replaced string values for view types with Javascript "enum." 2010-04-04 20:20:45 +00:00
rjy7
59d8ccef74 NIHVIVO-194. Sorted out issues with event listeners in one-step custom form. 2010-04-04 19:37:20 +00:00
rjy7
99d737a399 NIHVIVO-194. Added button text modification to close button event listener. 2010-04-04 18:11:45 +00:00
rjy7
1c3772a125 NIHVIVO-194. Added a close button with click event listener to the custom form addNew div. 2010-04-04 04:48:41 +00:00
bdc34
42f8aed42e Working on short view for educational background. 2010-04-03 22:42:06 +00:00
rjy7
c0c802af96 NIHVIVO-193, NIHVIVO-194. Cleaned up n3 statements in position history and educational background forms. Restored degree to required status in educational background status; had temporarily been made optional due to bugs related to the degree which have now been fixed. 2010-04-03 20:16:53 +00:00
rjy7
1918aedc1d NIHVIVO-194 Bug fix in educational background form. Temporarily make academic degree optional until academic degree dropdown bug is fixed. Some Javascript improvements; remerged javascript for educational background and position history forms. 2010-04-02 23:21:42 +00:00
nac26
b304dab873 NIHVIVO-193 style tweaks for Position form 2010-04-02 23:11:13 +00:00
rjy7
e4a2e10c41 NIHVIVO-194 Change ids to classes to accomodate the possibility of additional related objects, and enclose the existing/addNew/new divs into a containing div 2010-04-02 22:30:09 +00:00
rjy7
0a850b4473 NIHVIVO-194 On positionHistory and educationalBackground custom forms, changed id "entry" to class "entry", to accomodate the fact that educationalBackground form has more than one persistent div. 2010-04-02 20:30:31 +00:00
rjy7
715d0c7026 NIHVIVO-194 First draft of educational background form. Degree select doesn't get populated, so committing now so BrianC can take a look. 2010-04-02 20:15:08 +00:00
rjy7
c37f96372c NIHVIVO-194 Changed Javascript customForm file and object name to customFormTwoStep, in preparation for creating the customFormOneStep required by educational background form. 2010-04-02 15:59:48 +00:00
rjy7
98619bc93f NIHVIVO-193 Minor tweaks to Javascript. 2010-04-01 22:40:21 +00:00
rjy7
9fe61779f5 NIHVIVO-193 Javascript to handle reloading the edit form after a failed submission due to validation errors. 2010-04-01 22:23:07 +00:00
bdc34
14eef84a35 Using default new URI creation behavior in VIVO n3 custom forms. NIHVIVO-273 2010-04-01 21:35:39 +00:00
rjy7
c485ee2440 NIHVIVO-193 Javascript to handle reloading the form after a failed submit due to validation errors. Add form working now. Edit form not quite working yet. 2010-04-01 20:12:07 +00:00
rjy7
be7cea2203 NIHVIVO-193 Javascript to handle reloading the form after a failed submit due to validation errors. Most but not all cases are working in this version. 2010-04-01 19:45:23 +00:00
rjy7
6a24d6ee54 NIHVIVO-193 Fixed positioning of validation error message following floated input element. 2010-04-01 05:55:56 +00:00
rjy7
378808b007 NIHVIVO-193 Changed right float on addNewLink div to left float, to accomodate different window sizes. 2010-04-01 05:16:34 +00:00
rjy7
7d26f8d322 NIHVIVO-193 Minor tweaks. 2010-04-01 04:52:08 +00:00
rjy7
3dbddc0134 NIHVIVO-193 Fix styles on year inputs so they don't collapse into label on smaller screen sizes. 2010-04-01 03:49:53 +00:00
rjy7
490d9db068 NIHVIVO-193 Additions to support non-Javascript version of position history form. 2010-03-31 14:39:12 +00:00
rjy7
23ef0f8c82 NIHVIVO-193 Fixed bug in custom form javascript which was causing asterisks used to indicate required fields to be generated multiple times. 2010-03-30 21:42:13 +00:00
rjy7
3891b1cf15 NIHVIVO-193 Modifications for editing an existing position history entry 2010-03-30 19:33:54 +00:00
rjy7
08544ebc33 NIHVIVO-193 Added cancel action to step 2 of personHasPositionHistory form. There's still a bug with removal of required hints from the #new div that needs to be fixed. 2010-03-30 18:16:40 +00:00
rjy7
a1c3065f8b NIHVIVO-193 Fix creation of new organization in the person has position history form. Fix typos in processRdfForm2.jsp. 2010-03-30 14:13:23 +00:00
rjy7
f7b7bd476c NIHVIVO-193 Style tweaks 2010-03-30 01:06:45 +00:00
rjy7
f1ab7cd78d NIHVIVO-193 Added Javascript functionality to custom form for person has position 2010-03-30 01:03:57 +00:00