[Rt-commit] rt branch, 4.0/cf-category-filter-render-type-list, updated. rt-4.0.5-84-g20e0425

? sunnavy sunnavy at bestpractical.com
Tue Mar 13 18:03:22 EDT 2012


The branch, 4.0/cf-category-filter-render-type-list has been updated
       via  20e0425e055ca99025133ca065e4b0b6e9e78df9 (commit)
      from  97fd263dc6892726a67e841e884f3c3032afd8d7 (commit)

Summary of changes:
 share/html/NoAuth/js/cascaded.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 20e0425e055ca99025133ca065e4b0b6e9e78df9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Mar 14 06:02:45 2012 +0800

    we should enable "no value" input when it is visible

diff --git a/share/html/NoAuth/js/cascaded.js b/share/html/NoAuth/js/cascaded.js
index 95cfd50..7552a73 100644
--- a/share/html/NoAuth/js/cascaded.js
+++ b/share/html/NoAuth/js/cascaded.js
@@ -67,7 +67,7 @@ function filter_cascade (id, val) {
                 jQuery(element).find('div').hide().find('input').attr('disabled', 'disabled');
                 jQuery(element).find('div[name^=' + val + ']').show().find('input').attr('disabled', '');
             }
-            jQuery(element).find('div.none').show();
+            jQuery(element).find('div.none').show().find('input').attr('disabled','');
         }
     }
 }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list