Commit graph

76 commits

Author SHA1 Message Date
rjy7
bd00326e1e Added a comment 2010-07-08 22:04:31 +00:00
rjy7
bd5acb1ef0 NIHVIVO-765 Call reorder when loading add authors form, to prevent problems when adding a new author and the last existing author is unranked. 2010-07-08 21:57:05 +00:00
rjy7
fb19508325 NIHVIVO-725 Publication form html, css, and javascript 2010-07-08 20:40:58 +00:00
rjy7
95380454af NIHVIVO-647 Add name attribute to vitro custom jsp input tag so that the name can differ from the id.
Removed flag1value1 stuff from all vivo custom forms, since no longer needed.
Initial setup for publication form javascript.
2010-07-08 15:08:42 +00:00
rjy7
7685f5e329 NIHVIVO-753 Undo toggling of last name field label, and javascript name-fixing. See discussion under NIHVIVO-444 for the rationale behind these changes.
NIHVIVO-725 More work on publication form.
2010-07-07 14:57:20 +00:00
rjy7
98543e75e0 NIHVIVO-725 Initial work on addPublicationToAuthor custom form 2010-07-06 22:48:04 +00:00
rjy7
35a35daab8 NIHVIVO-646 Fixed problem of cursor:pointer not taking effect on drag-drop list in add author form.
NIHVIVO-742 Restored v1.0 datetime handling to educational background form.
2010-07-06 14:05:57 +00:00
rjy7
d0930bca49 NIHVIVO-646 Small style changes. A note in DataPropertyComparator. 2010-07-06 01:45:11 +00:00
rjy7
26f86e9bfe NIHVIVO-746 Handle unranked authorships in add authors to publication form. 2010-07-05 16:58:46 +00:00
rjy7
8a4c457654 Minor code tweaks 2010-07-04 19:43:39 +00:00
rjy7
51b4fb24c2 NIHVIVO-646 Organized methods into logical groupings to improve readability. 2010-07-04 17:17:15 +00:00
rjy7
3772389dd7 NIHVIVO-646 Broke removeAuthorship out into a separate function 2010-07-04 16:08:21 +00:00
rjy7
96d9b0508e NIHVIVO-646 Use autocomplete cache 2010-07-04 13:58:27 +00:00
rjy7
dccd622b5b NIHVIVO-646 After removing an author, reset autocomplete url to modify excluded uris so that uri of author just removed is no longer excluded. 2010-07-04 01:12:59 +00:00
rjy7
9f86aff342 NIHVIVO-646 Fixed reordering bug in Javascript 2010-07-02 19:34:36 +00:00
rjy7
63c49c180d NIHVIVO-646 JS bug fixes and refinements 2010-07-02 18:29:08 +00:00
rjy7
745e98e0fb NIHVIVO-646 Disable author drag-drop if only 1 author (on page load or after removing an author) 2010-07-02 16:09:26 +00:00
rjy7
addabdc245 NIHVIVO-646 JS and CSS tweaks 2010-07-02 15:09:39 +00:00
rjy7
5c9de606d0 NIHVIVO-646 Reorder authorships through drag-and-drop. Handle success and failure cases. Reset element positions after a removal. 2010-07-02 03:40:06 +00:00
rjy7
8b96e68e71 NIHVIVO-646 update authorship ranks on page after successful drag-and-drop reordering 2010-07-01 19:31:29 +00:00
rjy7
f9d62691f5 NIHVIVO-646 Drag-and-drop author reordering 2010-07-01 18:27:07 +00:00
rjy7
9ba79a0685 NIHVIVO-646 Store authorship rank with authorship listing. Fixes to js name-splitting routine. 2010-07-01 15:15:54 +00:00
rjy7
8568c806b4 NIHVIVO-646 Modifications to element structure of existing author listings, and associated changes to js and css 2010-07-01 14:50:02 +00:00
rjy7
cbe6a58aa6 NIHVIVO-646 Removed undo link feature from add authors form due to time limitations. Added confirm for the remove links; can upgrade to jquery ui dialog later. 2010-06-30 17:34:55 +00:00
rjy7
5ae7580002 NIHVIVO-646 JS changes 2010-06-29 22:08:28 +00:00
rjy7
37a85a5e97 NIHVIVO-646 Autocomplete, remove author functionality 2010-06-29 16:15:51 +00:00
rjy7
6016d451a1 NIHVIVO-646 Tweaks to autocomplete on add authors to pub form 2010-06-28 14:37:06 +00:00
rjy7
911cd99156 NIHVIVO-646 Fixes to autocomplete and form view after returning from invalid submission 2010-06-25 22:10:22 +00:00
rjy7
401a95a029 NIHVIVO-646 Reimplement uri filtering in AutoCompleteController so it's part of the query, instead of removing from query results afterward 2010-06-25 19:13:47 +00:00
rjy7
1e127abac1 NIHVIVO-646 Slight change to implementation of existing author filter on autocomplete 2010-06-24 14:31:23 +00:00
rjy7
c885ae010f NIHVIVO-646 more work on javascript for add authors to publication form 2010-06-22 22:12:33 +00:00
rjy7
2ba250717c NIHVIVO-646 Add new person as author in add authors to publication form 2010-06-22 20:59:30 +00:00
rjy7
bd39967cc9 NIHVIVO-646 Filter existing authors out of autocomplete query results in add authors to publication form 2010-06-22 20:49:30 +00:00
rjy7
98c027b00c NIHVIVO-646 Adding an existing person as an author on the add authors to publications form 2010-06-22 17:52:37 +00:00
rjy7
65af54c74e NIHVIVO-646 Work on autocomplete in add authors to publication form 2010-06-21 16:07:22 +00:00
rjy7
13c57446dd NIHVIVO-646 Add cancelUrl parameter to submit tag in InputElementFormattingTags so that the cancel button can redirect to a different page from the form submission. Change cancel values in submit tags in vitro and vivo forms to "true" where previously they specified a uri, because the uri is misleading (it doesn't control the redirect location). Removed edit submission preprocessing due to problems with cloning. 2010-06-17 14:27:03 +00:00
rjy7
bd45d55237 NIHVIVO-646 Initial setup for autocomplete field in authors form.
Fixed typos in TabFilteringTest class and getTabHierarchy method names.
2010-06-16 15:33:16 +00:00
rjy7
ab3e088cdf Add custom form utils mixin to forms for educational background and position history. 2010-06-14 20:06:53 +00:00
rjy7
cc480a3961 NIHVIVO-646 Move custom form utilities to a separate js file and add utility mixin methods to mix them in to specific custom forms. Make paths to css and js files in formPrefix.jsp and formSuffix.jsp absolute instead of relative. 2010-06-14 19:22:50 +00:00
rjy7
c11d40a0f9 NIHVIVO-646 Continued work on custom form for adding authors to publications 2010-06-14 16:36:12 +00:00
rjy7
6f5636a9c5 NIHVIVO-646 add authors to publications custom form 2010-06-11 21:11:19 +00:00
rjy7
ff76c04e9f Have custom form Javascript enforce edit forms having one step, in case the custom form forgets to. 2010-04-16 13:41:17 +00:00
rjy7
40990255c7 Added some more Javascript behavior to edit version of custom forms. 2010-04-15 19:53:18 +00:00
rjy7
d255909f3b Added "cancel" link to add new organization box on edit version of position history custom form. Previously had only been present on educational background form. Removed the link in non-Javascript version. 2010-04-15 19:34:26 +00:00
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
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