Bug 33173: Save and continue button in standard cataloging module broken
To test: 1 - Edit a record in the standard editor 2 - Click on to tab 2 3 - Click 'Save and continue' 4 - Error: tab is not defined 5 - Apply patch 6 - Reload page and try again 7 - Fixed! Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit35e117fb91) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> (cherry picked from commitb0d758cf2d) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commitdcf364beba) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
08c793cb8e
commit
57d2657d28
|
|
@ -119,8 +119,7 @@
|
|||
});
|
||||
$("#saveandcontinue").click(function(){
|
||||
$(".btn-group").removeClass("open");
|
||||
var tab = $("#addbibliotabs li.ui-tabs-active:first a").attr('href');
|
||||
tab = tab.replace('#', '');
|
||||
var tab = $("#addbibliotabs div.active:first").attr('id');
|
||||
$("#current_tab").val(tab);
|
||||
redirect("just_save", tab);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue