remove url attr from input

This commit is contained in:
Mariela Michalek 2014-05-10 18:00:07 -03:00
parent b9ec5b1bf3
commit 1592f3caa7

View File

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