Fix child options cache

This commit is contained in:
Champ Camba
2016-11-13 20:11:27 +08:00
parent 0c5e788c64
commit 6ab8b3dc57
+1 -1
View File
@@ -313,7 +313,7 @@ jQuery(document).ready(function() {
jQuery(document).on('change','select[name="'+parent_option+'"]',function(){
var parent = jQuery(this);
var form_id = parent.closest('form').find('input[type=hidden][name=form_id]').val();
var arr_key = me.val();
var arr_key = parent.val();
if( parent.val() != '' && typeof um_select_options_cache[ arr_key ] != 'object' ){