[open-ils-commits] r14927 - trunk/Open-ILS/xul/staff_client/chrome/content/main (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 16 17:23:22 EST 2009
Author: phasefx
Date: 2009-11-16 17:23:16 -0500 (Mon, 16 Nov 2009)
New Revision: 14927
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
Log:
whitespace
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2009-11-16 21:33:59 UTC (rev 14926)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2009-11-16 22:23:16 UTC (rev 14927)
@@ -348,27 +348,27 @@
'cmd_patron_register' : [
['oncommand'],
function() {
- function spawn_editor(p) {
- var url = urls.XUL_PATRON_EDIT;
- var param_count = 0;
- for (var i in p) {
- if (param_count++ == 0) url += '?'; else url += '&';
- url += i + '=' + window.escape(p[i]);
- }
- var loc = obj.url_prefix( urls.XUL_BROWSER ) + '?url=' + window.escape( obj.url_prefix(url) );
- obj.new_tab(
- loc,
- {},
- {
- 'show_print_button' : true ,
- 'tab_name' : offline.getString('menu.cmd_patron_register.related.tab'),
- 'passthru_content_params' : {
- 'spawn_search' : function(s) { obj.spawn_search(s); },
- 'spawn_editor' : spawn_editor,
- }
- }
- );
+ function spawn_editor(p) {
+ var url = urls.XUL_PATRON_EDIT;
+ var param_count = 0;
+ for (var i in p) {
+ if (param_count++ == 0) url += '?'; else url += '&';
+ url += i + '=' + window.escape(p[i]);
+ }
+ var loc = obj.url_prefix( urls.XUL_BROWSER ) + '?url=' + window.escape( obj.url_prefix(url) );
+ obj.new_tab(
+ loc,
+ {},
+ {
+ 'show_print_button' : true ,
+ 'tab_name' : offline.getString('menu.cmd_patron_register.related.tab'),
+ 'passthru_content_params' : {
+ 'spawn_search' : function(s) { obj.spawn_search(s); },
+ 'spawn_editor' : spawn_editor,
}
+ }
+ );
+ }
obj.data.stash_retrieve();
var loc = obj.url_prefix( urls.XUL_BROWSER )
More information about the open-ils-commits
mailing list