#1266 Align the Interactive Map button behavior in the widgets UI and the classic UI

Added case: online resource without protocol and url of wms service