remove url attr from input

This commit is contained in:
Mariela Michalek 2014-05-10 18:00:07 -03:00
parent 9cb881faaa
commit e6daae3ee8

View File

@ -53,7 +53,6 @@ mindplot.widget.LinkEditor = new Class({
// Add Input // Add Input
var input = $('<input/>').attr({ var input = $('<input/>').attr({
'placeholder': 'http://www.example.com/', 'placeholder': 'http://www.example.com/',
'type': 'url', //FIXME: THIS not work on IE, see workaround below
'required': 'true', 'required': 'true',
'autofocus': 'autofocus', 'autofocus': 'autofocus',
'class': 'form-control' 'class': 'form-control'
@ -62,7 +61,6 @@ mindplot.widget.LinkEditor = new Class({
if (model.getValue() != null){ if (model.getValue() != null){
input.val(model.getValue()); input.val(model.getValue());
} }
// type:Browser.ie ? 'text' : 'url', // IE workaround
// Open Button // Open Button
var openButton = $('<button></button>').attr({ var openButton = $('<button></button>').attr({