|
|
|
@ -20,17 +20,6 @@
|
|
|
|
|
if (isEdit) |
|
|
|
|
this.setValue(element.getText()); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 'value', |
|
|
|
|
type: 'text', |
|
|
|
|
label: Drupal.t('Value :'), |
|
|
|
|
labelLayout: 'horizontal', |
|
|
|
|
style: 'float:left;width:100px;', |
|
|
|
|
setup: function (element) { |
|
|
|
|
if (isEdit) |
|
|
|
|
this.setValue(element.getAttribute('value')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
} |
|
|
|
@ -43,7 +32,7 @@
|
|
|
|
|
this.setupContent( this.realObj ); |
|
|
|
|
}, |
|
|
|
|
onOk : function() { |
|
|
|
|
CKEDITOR.plugins.reference_footnotes.createFootnote( editor, this.realObj, this.getValueOf('info', 'reference_footnote'), this.getValueOf('info', 'value')); |
|
|
|
|
CKEDITOR.plugins.reference_footnotes.createFootnote( editor, this.realObj, this.getValueOf('info', 'reference_footnote'), null); |
|
|
|
|
delete this.fakeObj; |
|
|
|
|
delete this.realObj; |
|
|
|
|
} |
|
|
|
|