mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-26 21:23:49 +01:00
remove url attr from input
This commit is contained in:
parent
9cb881faaa
commit
e6daae3ee8
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user