[open-ils-commits] r9491 - branches/rel_1_2/Open-ILS/web/reports
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 30 08:57:44 EDT 2008
Author: miker
Date: 2008-04-30 08:17:31 -0400 (Wed, 30 Apr 2008)
New Revision: 9491
Modified:
branches/rel_1_2/Open-ILS/web/reports/oils_rpt_folder_window.js
Log:
protect against empty folder names
Modified: branches/rel_1_2/Open-ILS/web/reports/oils_rpt_folder_window.js
===================================================================
--- branches/rel_1_2/Open-ILS/web/reports/oils_rpt_folder_window.js 2008-04-30 04:50:12 UTC (rev 9490)
+++ branches/rel_1_2/Open-ILS/web/reports/oils_rpt_folder_window.js 2008-04-30 12:17:31 UTC (rev 9491)
@@ -604,7 +604,7 @@
DOM.oils_rpt_folder_manager_name_input.value = folder.name();
DOM.oils_rpt_folder_manager_change_name_submit.onclick = function() {
var name = DOM.oils_rpt_folder_manager_name_input.value;
- if(name) {
+ if(name != "") {
folder.name( name );
if(confirmId('oils_rpt_folder_manager_change_name_confirm')) {
oilsRptUpdateFolder(folder, obj.type,
More information about the open-ils-commits
mailing list