[open-ils-commits] r9492 - trunk/Open-ILS/web/reports
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 30 08:57:58 EDT 2008
Author: miker
Date: 2008-04-30 08:17:45 -0400 (Wed, 30 Apr 2008)
New Revision: 9492
Modified:
trunk/Open-ILS/web/reports/oils_rpt_folder_window.js
Log:
protect against empty folder names
Modified: trunk/Open-ILS/web/reports/oils_rpt_folder_window.js
===================================================================
--- trunk/Open-ILS/web/reports/oils_rpt_folder_window.js 2008-04-30 12:17:31 UTC (rev 9491)
+++ trunk/Open-ILS/web/reports/oils_rpt_folder_window.js 2008-04-30 12:17:45 UTC (rev 9492)
@@ -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