Re-instating hide/show of document field when inserting link

This commit is contained in:
James Barnsley 2016-08-01 10:58:13 +12:00
parent f46089d158
commit 284cdbac13

4
javascript/DocumentHtmlEditorFieldToolbar.js Normal file → Executable file
View File

@ -3,7 +3,7 @@
$.entwine('ss', function($) { $.entwine('ss', function($) {
/*$('form.htmleditorfield-linkform input[name=LinkType]').entwine({ $('form.htmleditorfield-linkform input[name=LinkType]').entwine({
onchange: function(e) { onchange: function(e) {
this._super(e); this._super(e);
@ -26,7 +26,7 @@
onadd: function(e){ onadd: function(e){
this.change(); this.change();
} }
});*/ });
$('form.htmleditorfield-linkform').entwine({ $('form.htmleditorfield-linkform').entwine({
insertLink: function() { insertLink: function() {