removing a forgotten js alert
authorPaul POULAIN <paul@koha-fr.org>
Wed, 31 Oct 2007 18:12:12 +0000 (13:12 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 1 Nov 2007 00:38:59 +0000 (19:38 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc

index 7922fcb..4709929 100644 (file)
@@ -8,10 +8,6 @@
        }
 function confirm_deletion() {
                var count = <!-- TMPL_VAR NAME="count" -->;
-               if(!count){ alert("no count!");
-               return false; } else {
-               alert(count);
-               }
         var is_confirmed;
        if (count>0){
                    is_confirmed= alert(_('There are [ '+ count +' ] item(s) attached to this record \n You must delete all items before deleting this record.'));