missed this hard-coded value
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Nov 2009 03:09:13 +0000 (03:09 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Nov 2009 03:09:13 +0000 (03:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@14985 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/in_house_use.js

index c24064b..00c2d14 100644 (file)
@@ -139,7 +139,7 @@ circ.in_house_use.prototype = {
                                                                try {
                                                                        var value = Number(ev.target.value);
                                                                        if (value > 0) {
-                                                                               if (value > 99) { throw(value); }
+                                                                               if (value > obj.entry_cap) { throw(value); }
                                                                        } else {
                                                                                throw(value);
                                                                        }