From a25747cf2e329232446fca5f4390cb47345af6fd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 11 Oct 2007 02:20:02 -0500 Subject: [PATCH] Change to the way the duplicate warning works and displays. Streamlines not-a-duplicate confirmation process and hopefully fixes Bug 1447. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../en/modules/cataloguing/addbiblio.tmpl | 47 +++++++++---------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index c1a315f46b..92b668cb42 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -9,9 +9,9 @@ }); function confirmnotdup(){ - document.getElementById("confirm_not_duplicate").value = 1; - alert(_("Not a duplicate confirmed. Please click on Add biblio to save the record")); - var checkform = document.getElementById("f"); + $("#confirm_not_duplicate").attr("value","1"); + // alert(_("Not a duplicate confirmed. Please click on Add biblio to save the record")); + var checkform = $("#f"); Check(checkform); } @@ -22,7 +22,7 @@ function confirmnotdup(){ function Check(){ var StrAlert = AreMandatoriesNotOk(); if( ! StrAlert ){ - document.f.submit; + document.f.submit(); return true; } else { alert(StrAlert); @@ -122,11 +122,7 @@ function ExpandField(index) { var divs = original.getElementsByTagName('div'); for(var i=0,divslen = divs.length ; i
+

Edit MARC Record Number Add MARC Record

+ + + + + + + +
+ - -

Edit MARC Record Number Add MARC Record

- +
@@ -467,19 +476,7 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ?
XX"> - - - -
-

Is this a duplicate of " onclick="openWindow('../MARCdetail.pl?biblionumber=&popup=1', 'Duplicate biblio'; return false;)">?

-

You must either :

- -
- - + -- 2.39.5