mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Re-instating hide/show of document field when inserting link
This commit is contained in:
parent
f46089d158
commit
284cdbac13
4
javascript/DocumentHtmlEditorFieldToolbar.js
Normal file → Executable file
4
javascript/DocumentHtmlEditorFieldToolbar.js
Normal file → Executable 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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user