[open-ils-commits] r12515 - trunk/Open-ILS/web/reports/xul (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 13 22:31:50 EDT 2009
Author: dbs
Date: 2009-03-13 22:31:48 -0400 (Fri, 13 Mar 2009)
New Revision: 12515
Modified:
trunk/Open-ILS/web/reports/xul/source-browse.js
trunk/Open-ILS/web/reports/xul/source-setup.js
Log:
Pure whitespace, nothing more
Modified: trunk/Open-ILS/web/reports/xul/source-browse.js
===================================================================
--- trunk/Open-ILS/web/reports/xul/source-browse.js 2009-03-14 02:21:50 UTC (rev 12514)
+++ trunk/Open-ILS/web/reports/xul/source-browse.js 2009-03-14 02:31:48 UTC (rev 12515)
@@ -66,7 +66,7 @@
subtreeList.push(
{ name : name,
- nullable : 'Default',
+ nullable : 'Default',
idlclass : idlclass,
map : map,
key : key,
@@ -77,67 +77,67 @@
}
);
- if ($('nullable-source-control').checked) {
- if (reltype == 'has_a') {
- subtreeList.push(
- { name : name,
- nullable : 'Parent', //rpt_strings.LINK_NULLABLE_RIGHT,
- idlclass : idlclass,
- map : map,
- key : key,
- join : 'right',
- field : field.getAttribute('name'),
- reltype : reltype,
- link : link,
- fullpath : fullpath + '>right'
- }
- );
+ if ($('nullable-source-control').checked) {
+ if (reltype == 'has_a') {
+ subtreeList.push(
+ { name : name,
+ nullable : 'Parent', //rpt_strings.LINK_NULLABLE_RIGHT,
+ idlclass : idlclass,
+ map : map,
+ key : key,
+ join : 'right',
+ field : field.getAttribute('name'),
+ reltype : reltype,
+ link : link,
+ fullpath : fullpath + '>right'
+ }
+ );
- subtreeList.push(
- { name : name,
- nullable : 'None', //rpt_strings.LINK_NULLABLE_NONE
- idlclass : idlclass,
- map : map,
- key : key,
- join : 'inner',
- field : field.getAttribute('name'),
- reltype : reltype,
- link : link,
- fullpath : fullpath + '>inner'
- }
- );
+ subtreeList.push(
+ { name : name,
+ nullable : 'None', //rpt_strings.LINK_NULLABLE_NONE
+ idlclass : idlclass,
+ map : map,
+ key : key,
+ join : 'inner',
+ field : field.getAttribute('name'),
+ reltype : reltype,
+ link : link,
+ fullpath : fullpath + '>inner'
+ }
+ );
+
+ } else {
+ subtreeList.push(
+ { name : name,
+ nullable : 'Child', //rpt_strings.LINK_NULLABLE_LEFT,
+ idlclass : idlclass,
+ map : map,
+ key : key,
+ join : 'left',
+ field : field.getAttribute('name'),
+ reltype : reltype,
+ link : link,
+ fullpath : fullpath + '>left'
+ }
+ );
- } else{
- subtreeList.push(
- { name : name,
- nullable : 'Child', //rpt_strings.LINK_NULLABLE_LEFT,
- idlclass : idlclass,
- map : map,
- key : key,
- join : 'left',
- field : field.getAttribute('name'),
- reltype : reltype,
- link : link,
- fullpath : fullpath + '>left'
- }
- );
+ subtreeList.push(
+ { name : name,
+ nullable : 'None', //rpt_strings.LINK_NULLABLE_NONE
+ idlclass : idlclass,
+ map : map,
+ key : key,
+ join : 'inner',
+ field : field.getAttribute('name'),
+ reltype : reltype,
+ link : link,
+ fullpath : fullpath + '>inner'
+ }
+ );
- subtreeList.push(
- { name : name,
- nullable : 'None', //rpt_strings.LINK_NULLABLE_NONE
- idlclass : idlclass,
- map : map,
- key : key,
- join : 'inner',
- field : field.getAttribute('name'),
- reltype : reltype,
- link : link,
- fullpath : fullpath + '>inner'
- }
- );
-
- }
- }
+ }
+ }
}
populateSourcesSubtree( item.lastChild, subtreeList );
Modified: trunk/Open-ILS/web/reports/xul/source-setup.js
===================================================================
--- trunk/Open-ILS/web/reports/xul/source-setup.js 2009-03-14 02:21:50 UTC (rev 12514)
+++ trunk/Open-ILS/web/reports/xul/source-setup.js 2009-03-14 02:31:48 UTC (rev 12515)
@@ -260,27 +260,27 @@
var _label = _cname;
if (atom.length > 1 && k == steps.length - 1) {
- var field_name = atom[1];
- var join_type = field_name;
+ var field_name = atom[1];
+ var join_type = field_name;
- field_name = field_name.split(/>/)[0];
- join_type = join_type.split(/>/)[1];
+ field_name = field_name.split(/>/)[0];
+ join_type = join_type.split(/>/)[1];
var _f = getIDLField(classNode, field_name);
var _fname = _f.getAttributeNS(rptNS, 'label');
if (!_fname) _fname = _f.getAttribute('name');
if (_fname) _label += ' :: ' + _fname;
if (join_type) _label += ' (' + join_type + ')';
-
- } else if (atom[1]){
- var field_name = atom[1];
- var join_type = field_name;
- field_name = field_name.split(/>/)[0];
- join_type = join_type.split(/>/)[1];
+ } else if (atom[1]) {
+ var field_name = atom[1];
+ var join_type = field_name;
+ field_name = field_name.split(/>/)[0];
+ join_type = join_type.split(/>/)[1];
+
if (join_type) _label += ' (' + join_type + ')';
- }
+ }
path_label.push(_label);
}
More information about the open-ils-commits
mailing list