more url constants
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Dec 2005 22:21:24 +0000 (22:21 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Dec 2005 22:21:24 +0000 (22:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2298 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js
Open-ILS/xul/staff_client/server/patron/display.js

index eb81c8f..9377b82 100644 (file)
@@ -25,5 +25,10 @@ var urls = {
        'remote_checkout' : '/xul/server/circ/checkout.xul',
        'remote_menu_frame' : '/xul/server/main/menu_frame.xul',
        'remote_patron_barcode_entry' : '/xul/server/patron/barcode_entry.xul',
-       'remote_patron_display' : '/xul/server/patron/display.xul'
+       'remote_patron_bills' : 'data:text/html,<h1>Bills Here</h1>',
+       'remote_patron_display' : '/xul/server/patron/display.xul',
+       'remote_patron_edit' : 'data:text/html,<h1>Edit Here</h1>',
+       'remote_patron_holds' : 'data:text/html,<h1>Holds Here</h1>',
+       'remote_patron_info' : 'data:text/html,<h1>Info Here</h1>',
+       'remote_patron_items' : 'data:text/html,<h1>Items Here</h1>'
 }
index ac4c740..717f221 100644 (file)
@@ -63,35 +63,35 @@ patron.display.prototype = {
                                        'cmd_patron_items' : [
                                                ['command'],
                                                function(ev) {
-                                                       obj.deck.set_iframe('data:text/html,<h1>Items Here</h1>');
+                                                       obj.deck.set_iframe(urls.remote_patron_items);
                                                        dump('obj.deck.node.childNodes.length = ' + obj.deck.node.childNodes.length + '\n');
                                                }
                                        ],
                                        'cmd_patron_holds' : [
                                                ['command'],
                                                function(ev) {
-                                                       obj.deck.set_iframe('data:text/html,<h1>Holds Here</h1>');
+                                                       obj.deck.set_iframe(urls.remote_patron_holds);
                                                        dump('obj.deck.node.childNodes.length = ' + obj.deck.node.childNodes.length + '\n');
                                                }
                                        ],
                                        'cmd_patron_bills' : [
                                                ['command'],
                                                function(ev) {
-                                                       obj.deck.set_iframe('data:text/html,<h1>Bills Here</h1>');
+                                                       obj.deck.set_iframe(urls.remote_patron_bills);
                                                        dump('obj.deck.node.childNodes.length = ' + obj.deck.node.childNodes.length + '\n');
                                                }
                                        ],
                                        'cmd_patron_edit' : [
                                                ['command'],
                                                function(ev) {
-                                                       obj.deck.set_iframe('data:text/html,<h1>Edit Here</h1>');
+                                                       obj.deck.set_iframe(urls.remote_patron_edit);
                                                        dump('obj.deck.node.childNodes.length = ' + obj.deck.node.childNodes.length + '\n');
                                                }
                                        ],
                                        'cmd_patron_info' : [
                                                ['command'],
                                                function(ev) {
-                                                       obj.deck.set_iframe('data:text/html,<h1>Info Here</h1>');
+                                                       obj.deck.set_iframe(urls.remote_patron_info);
                                                        dump('obj.deck.node.childNodes.length = ' + obj.deck.node.childNodes.length + '\n');
                                                }
                                        ],