mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 07:44:56 +01:00
- IE does not support input type URL. Sucks.
This commit is contained in:
parent
9213dc6aa3
commit
5b966d870f
@ -71,13 +71,13 @@ mindplot.widget.LinkEditor = new Class({
|
||||
var select = new Element('select');
|
||||
select.setStyles({margin: '5px'});
|
||||
new Element('option', {text:'URL'}).inject(select);
|
||||
new Element('option', {text:'Mail'}).inject(select);
|
||||
// new Element('option', {text:'Mail'}).inject(select);
|
||||
select.inject(form);
|
||||
|
||||
// Add Input ...
|
||||
var input = new Element('input', {
|
||||
placeholder: 'http://www.example.com/',
|
||||
type:'url',
|
||||
type:Browser.ie ? 'text' : 'url', // IE workaround
|
||||
required:true,
|
||||
autofocus:'autofocus'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user