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>
This commit is contained in:
parent
fafccfd76f
commit
35e117fb91
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,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 a new issue