fix to delete a virtualshelf content correctly
authorPaul POULAIN <paul@koha-fr.org>
Tue, 11 Dec 2007 17:33:37 +0000 (18:33 +0100)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 13 Dec 2007 23:57:30 +0000 (17:57 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl

index 49bfb64..b52dd6d 100644 (file)
@@ -133,7 +133,7 @@ function confirmDelete(s,n){
                <fieldset class="action">
                <!-- TMPL_IF name="manageshelf" -->
         <!-- TMPL_IF NAME="itemsloop" -->
-            <input type="submit" value="Remove selected Items" onclick="return confirmDelete('Are you sure you want to remove these items from the shelf?')" />
+            <input type="submit" value="Remove selected Items" onclick="return confirm('Are you sure you want to remove these items from the shelf?')" />
         <!-- /TMPL_IF --><!-- /itemsloop -->
         <!-- /TMPL_IF --><!-- /manageshelf -->
                </fieldset>