fixing val reference to url in https hotlink

This commit is contained in:
Denise Rivera 2016-03-16 09:11:15 +13:00
parent 5612b498b9
commit 22b3a71ec0

View File

@ -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');