Set onfouces on input notes and link form.
This commit is contained in:
@@ -75,7 +75,12 @@ mindplot.widget.LinkEditor = new Class({
|
||||
select.inject(form);
|
||||
|
||||
// Add Input ...
|
||||
var input = new Element('input', {placeholder: 'http://www.example.com/',type:'url',required:true});
|
||||
var input = new Element('input', {
|
||||
placeholder: 'http://www.example.com/',
|
||||
type:'url',
|
||||
required:true,
|
||||
autofocus:''
|
||||
});
|
||||
if (model.getValue() != null)
|
||||
input.value = model.getValue();
|
||||
|
||||
|
Reference in New Issue
Block a user