webui: Fix setting swift-related attributes
Merge pull request #108 from vuntz/webui-fix-swift

webui: Fix setting swift-related attributes