mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-11 01:33:24 +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
|
// 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({
|
||||||
|
Loading…
Reference in New Issue
Block a user