some delays to mitigate update/retrieve race
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Sep 2006 05:43:18 +0000 (05:43 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Sep 2006 05:43:18 +0000 (05:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6056 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_browser.js

index 67476db..74b15ab 100644 (file)
@@ -379,6 +379,7 @@ cat.copy_browser.prototype = {
                                                                                if (typeof robj.ilsevent != 'undefined') {
                                                                                        if ( (robj.ilsevent != 0) && (robj.ilsevent != 1208 /* TITLE_LAST_COPY */) ) throw(robj);
                                                                                }
+                                                                               alert('Action complete.');
                                                                                obj.refresh_list();
                                                                        }
 
@@ -569,6 +570,7 @@ cat.copy_browser.prototype = {
                                                                                        [ ses(), volumes, true ]
                                                                                );
                                                                                if (typeof r.ilsevent != 'undefined') throw(r);
+                                                                               alert('Volumes modified.');
                                                                        } catch(E) {
                                                                                obj.error.standard_unexpected_error_alert('volume update error: ',E);
                                                                        }
@@ -623,6 +625,7 @@ cat.copy_browser.prototype = {
                                                                                        }
                                                                                        if (robj.ilsevent != 0) throw(robj);
                                                                                }
+                                                                               alert('Volumes deleted.');
                                                                                obj.refresh_list();
                                                                        }
                                                                } catch(E) {