Skip to content

Commit f9986ef

Browse files
rfeeseelidrissidev
authored andcommitted
Fixed a bug where admin screen didn't load the IsRequired setting on Bundle Options. (OpenMage#3014)
1 parent d5b55b3 commit f9986ef

File tree

1 file changed

+1
-1
lines changed
  • app/design/adminhtml/default/default/template/bundle/product/edit/bundle

1 file changed

+1
-1
lines changed

app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Bundle.Option.prototype = {
114114
}
115115

116116
//set selected is_require
117-
if (data.required) {
117+
if (typeof data.required !== 'undefined') {
118118
$A($(this.idLabel + '_'+data.index+'_required').options).each(function(option){
119119
if (option.value==data.required) option.selected = true;
120120
});

0 commit comments

Comments
 (0)