mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixing val reference to url in https hotlink
This commit is contained in:
parent
5612b498b9
commit
22b3a71ec0
@ -1156,6 +1156,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
||||
|
||||
onclick: function(e) {
|
||||
var urlField = this.getURLField(), container = this.closest('.CompositeField'), form = this.closest('form');
|
||||
var val = urlField.val();
|
||||
|
||||
if (urlField.validate()) {
|
||||
container.addClass('loading');
|
||||
|
Loading…
Reference in New Issue
Block a user