[open-ils-commits] r9059 -
trunk/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Mar 16 21:50:07 EDT 2008
Author: dbs
Date: 2008-03-16 21:16:09 -0400 (Sun, 16 Mar 2008)
New Revision: 9059
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js
trunk/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js
trunk/Open-ILS/xul/staff_client/server/circ/util.js
Log:
Clean up illegal trailing commas in object initializers
Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkin.js 2008-03-16 20:52:06 UTC (rev 9058)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkin.js 2008-03-17 01:16:09 UTC (rev 9059)
@@ -29,10 +29,10 @@
'status' : { 'hidden' : false },
'route_to' : { 'hidden' : false },
'alert_message' : { 'hidden' : false },
- 'checkin_time' : { 'hidden' : false },
+ 'checkin_time' : { 'hidden' : false }
},
{
- 'except_these' : [ 'uses', 'checkin_time_full' ],
+ 'except_these' : [ 'uses', 'checkin_time_full' ]
}
);
@@ -76,8 +76,7 @@
} catch(E) {
alert('FIXME: ' + E);
}
- },
-
+ }
}
);
@@ -260,7 +259,7 @@
['command'],
function() {
}
- ],
+ ]
}
}
);
@@ -365,10 +364,10 @@
'acp' : checkin.copy,
'status' : checkin.status,
'route_to' : checkin.route_to,
- 'message' : checkin.message,
+ 'message' : checkin.message
}
},
- 'to_top' : true,
+ 'to_top' : true
//I could override map_row_to_column here
}
);
@@ -433,7 +432,7 @@
JSAN.use('cat.util'); cat.util.spawn_copy_editor( { 'copy_ids' : list, 'edit' : 1 } );
- },
+ }
}
Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-03-16 20:52:06 UTC (rev 9058)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-03-17 01:16:09 UTC (rev 9059)
@@ -1063,10 +1063,10 @@
'acn' : details.volume,
'atc' : details.transit,
'circ' : details.circ,
- 'ahr' : details.hold,
+ 'ahr' : details.hold
}
},
- 'to_top' : true,
+ 'to_top' : true
};
if (!refresh) {
var nparams = obj.list.append(params);
Modified: trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js 2008-03-16 20:52:06 UTC (rev 9058)
+++ trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js 2008-03-17 01:16:09 UTC (rev 9059)
@@ -25,7 +25,7 @@
'status' : { 'hidden' : false },
'location' : { 'hidden' : false },
'call_number' : { 'hidden' : false },
- 'uses' : { 'hidden' : false },
+ 'uses' : { 'hidden' : false }
}
);
@@ -178,7 +178,7 @@
['command'],
function() {
}
- ],
+ ]
}
}
);
@@ -302,10 +302,10 @@
'my' : {
'mvr' : mods,
'acp' : copy,
- 'uses' : result.length,
+ 'uses' : result.length
}
},
- 'to_top' : true,
+ 'to_top' : true
//I could override map_row_to_column here
}
);
Modified: trunk/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js 2008-03-16 20:52:06 UTC (rev 9058)
+++ trunk/Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js 2008-03-17 01:16:09 UTC (rev 9059)
@@ -38,8 +38,8 @@
'change_given' : '0.00',
'credit_given' : '0.00',
'note' : "We refunded this because...",
- 'new_balance' : '16.36',
- },
+ 'new_balance' : '16.36'
+ }
}
this.test_list = {
@@ -85,7 +85,7 @@
'offline_checkout' : [],
'offline_checkin' : [],
'offline_renew' : [],
- 'offline_inhouse_use' : [],
+ 'offline_inhouse_use' : []
}
obj.controller_init();
@@ -284,7 +284,7 @@
obj.controller.view.template_type_menu = ml;
}
}
- ],
+ ]
}
}
@@ -311,7 +311,7 @@
'type' : this.controller.view.template_type_menu.value,
'list' : list,
'data' : data,
- 'sample_frame' : this.controller.view.sample,
+ 'sample_frame' : this.controller.view.sample
};
JSAN.use('util.print'); var print = new util.print();
print.tree_list( params );
@@ -370,7 +370,7 @@
} catch(E) {
this.error.standard_unexpected_error_alert(document.getElementById('circStrings').getString('staff.circ.print_list_template.import.error'),E);
}
- },
+ }
}
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-03-16 20:52:06 UTC (rev 9058)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-03-17 01:16:09 UTC (rev 9059)
@@ -872,7 +872,7 @@
'flex' : 1,
'primary' : false,
'hidden' : true,
- 'render' : function(my) { return my.circ.xact_finish(); },
+ 'render' : function(my) { return my.circ.xact_finish(); }
},
{
'persist' : 'hidden width ordinal',
@@ -1407,7 +1407,7 @@
'flex' : 0,
'primary' : false,
'hidden' : true,
- 'render' : function(my) { return my.ahr.hold_type(); },
+ 'render' : function(my) { return my.ahr.hold_type(); }
},
{
'persist' : 'hidden width ordinal',
@@ -1906,7 +1906,7 @@
},
'7010' : function(r) {
return r.payload;
- },
+ }
}
}
);
More information about the open-ils-commits
mailing list