Bug 34097: Prevent clicking ellipsis for dateaccessioned plugin from scrolling up
Test plan: 1. Find a record with several items (in ktd "MacLaren's Gaelic self-taught" will do nicely 2. Click the Edit button next to one of the items 3. Click the "..." to the right of "d - Date acquired" and verify that the page doesn't scroll up to the top, and that the current date is inserted in the field 4. Click the "..." to the right of "w - Price effective from" and verify that the page doesn't scroll up and the current date is inserted Signed-off-by: Sam Lau <samalau@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit3824547e5c) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit2d24f269f5) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
1e621efd8c
commit
9fef2b809d
|
|
@ -45,6 +45,7 @@ function Focus$function_name(event) {
|
|||
|
||||
function Click$function_name(event) {
|
||||
set_to_today(event.data.id, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
function set_to_today( id, force ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue