PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
popup
$.popup('product_option', 'product_option_combination', { onOK : function() { var element = this.element; var data = {}; data.product_id = this.options.product_id; data.optionset_id = this.options.option_set_id; data.options = {}; $('select.option_item', element).each(function() { var v = $(this).val(); var n = $(this).attr('name'); data.options[n] = v ; }); $('input[type="checkbox"].option_item', element).each(function() { var v = $(this).val(); var n = $(this).attr('name'); if(this.checked) { if(!data.options[n]) data.options[n] = []; data.options[n].push(v) ; } }); $('input[type="text"]', element).each(function() { var name = $(this).attr('name'); var v = $.trim($(this).val()); data[name] = v; }); if(this.options.onOK) this.options.onOK(data); } }, { any: false, none: false, });
[+]
..
[-] profile.js
[edit]
[-] pagelist.js
[edit]
[-] order.js
[edit]
[-] customer_group.js
[edit]
[-] module_list.js
[edit]
[-] backgroundeditor.js
[edit]
[-] product.js
[edit]
[-] visualcsseditor.js
[edit]
[-] shipping_rule.js
[edit]
[-] profile_change_password.js
[edit]
[-] review.js
[edit]
[-] contributor_invite.js
[edit]
[-] dbfilter.js
[edit]
[-] tax_class.js
[edit]
[-] special_module_style_editor.js
[edit]
[-] idletimeout.js
[edit]
[-] address.js
[edit]
[-] contributor.js
[edit]
[-] login.js
[edit]
[-] skin.js
[edit]
[-] mail.js
[edit]
[-] discount.js
[edit]
[-] customer.js
[edit]
[-] productgrid.js
[edit]
[-] socialsharebuttonconfig.js
[edit]
[-] news.js
[edit]
[-] color.js
[edit]
[-] palette.js
[edit]
[-] newsgrid.js
[edit]
[-] product_option_combination_grid.js
[edit]
[-] page.js
[edit]
[-] product_option.js
[edit]
[-] tax_rate.js
[edit]
[-] coupons.js
[edit]
[-] zone.js
[edit]
[-] product_bulk_price.js
[edit]
[-] option_set.js
[edit]
[-] product_option_combination.js
[edit]