File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
templates/nextgen/edit_part_info.php Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7373 </label >
7474 <div class =" col-md-8" >
7575 <input type =" number" name =" instock" id =" instock" class =" form-control" min =" 0" placeholder =" { t} z.B. 100{ /t} "
76- value =" { if ! $instock_unknown } { $instock } { /if } " onkeydown =" if (event.keyCode == 13) { document.getElementById(' btn_enter' ).click();} "
77- { if ! $can_instock || $instock_unknown } disabled{ /if} >
76+ value =" { if ! isset( $ instock_unknown ) || ! $instock_unknown } { $instock } { /if } " onkeydown =" if (event.keyCode == 13) { document.getElementById(' btn_enter' ).click();} "
77+ { if ! $can_instock || (isset( $instock_unknown ) && $ instock_unknown ) } disabled{ /if} >
7878 </div >
7979 <div class =" col-md-2" >
8080 <div class =" form-check abc-checkbox form-check-inline form-control-plaintext" >
8181 <input type =" checkbox" class =" form-check-input" name =" instock_unknown" id =" instock_unknown" onchange =" checkInstockUnknown();"
82- { if $instock_unknown } checked{ /if} { if ! $can_instock } disabled{ /if} >
82+ { if isset( $ instock_unknown ) && $instock_unknown } checked{ /if} { if ! $can_instock } disabled{ /if} >
8383 <label class =" form-check-label" >{ t} Unbekannt{ /t} </label >
8484 </div >
8585 </div >
You can’t perform that action at this time.
0 commit comments