truncate title
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 19:59:32 +0000 (19:59 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 19:59:32 +0000 (19:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4962 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/bib_brief.xul
Open-ILS/xul/staff_client/server/patron/bills.js

index 7afbc41..831d16c 100644 (file)
@@ -61,7 +61,7 @@
                                                var mods = req.getResultObject();
                                                
                                                if (mods.title()) document.getElementById('title').appendChild(
-                                                       document.createTextNode(mods.title())
+                                                       document.createTextNode(mods.title().substr(0,50))
                                                );
                                                if (mods.author()) document.getElementById('author').appendChild(
                                                        document.createTextNode(mods.author())
index ab5c156..409af68 100644 (file)
@@ -739,7 +739,7 @@ patron.bills.prototype = {
                                                                                        function (rreq) {
                                                                                                var r_mvr = rreq.getResultObject();
                                                                                                if (instanceOf(r_mvr,mvr)) {
-                                                                                                       xt_value.appendChild( document.createTextNode( r_mvr.title() ) );
+                                                                                                       xt_value.appendChild( document.createTextNode( r_mvr.title().substr(0,50) ) );
                                                                                                } else {
                                                                                                        obj.network.simple_request(
                                                                                                                'FM_ACP_RETRIEVE',