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 commit 35e117fb91
)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
d5c0c5b63e
commit
b0d758cf2d
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@
|
||||||
});
|
});
|
||||||
$("#saveandcontinue").click(function(){
|
$("#saveandcontinue").click(function(){
|
||||||
$(".btn-group").removeClass("open");
|
$(".btn-group").removeClass("open");
|
||||||
var tab = $("#addbibliotabs li.ui-tabs-active:first a").attr('href');
|
var tab = $("#addbibliotabs div.active:first").attr('id');
|
||||||
tab = tab.replace('#', '');
|
|
||||||
$("#current_tab").val(tab);
|
$("#current_tab").val(tab);
|
||||||
redirect("just_save", tab);
|
redirect("just_save", tab);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue