Skip to content

Commit

Permalink
Shortened - hash doesn't need a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
kobliha committed Jul 21, 2014
1 parent 5d27951 commit a79baaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/autoinstall/conftree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def updateButtons(selectedModule)

# set read button status
resourceMap = Y2ModuleConfig.ModuleMap.fetch(selectedModule, {})
clonable = resourceMap.fetch("X-SuSE-YaST-AutoInstClonable", "false") == "true"
clonable = resourceMap["X-SuSE-YaST-AutoInstClonable"] == "true"

clone_button_status = clonable || ALWAYS_CLONABLE_MODULES.include?(selectedModule)
UI.ChangeWidget(Id(:read), :Enabled, clone_button_status)
Expand Down

0 comments on commit a79baaf

Please sign in to comment.