Skip to content

Commit

Permalink
Dialog size and footnote numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
andykirk committed Jul 21, 2014
1 parent eebacf6 commit cf3090e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions footnotes/dialogs/footnotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CKEDITOR.dialog.add( 'footnotesDialog', function( editor ) {
editor_name: false,
// Basic properties of the dialog window: title, minimum size.
title: 'Manage Footnotes',
minWidth: 400,
minWidth: 500,
minHeight: 200,
footnotes_el: false,

Expand Down Expand Up @@ -63,7 +63,7 @@ CKEDITOR.dialog.add( 'footnotesDialog', function( editor ) {
$footnotes.find('li').each(function(){
$item = jQuery(this);
var footnote_id = $item.attr('data-footnote-id');
radios += '<li><input type="radio" name="footnote_id" value="' + footnote_id + '" id="fn_' + footnote_id + '" /> <label for="fn_' + footnote_id + '" style="white-space: normal; display: inline-block; padding: 0 25px 0 5px; vertical-align: top; margin-bottom: 10px;">' + $item.find('cite').text() + '</label></li>';
radios += '<li style="margin-left: 15px;"><input type="radio" name="footnote_id" value="' + footnote_id + '" id="fn_' + footnote_id + '" /> <label for="fn_' + footnote_id + '" style="white-space: normal; display: inline-block; padding: 0 25px 0 5px; vertical-align: top; margin-bottom: 10px;">' + $item.find('cite').text() + '</label></li>';
});

$el.children('label,div').css('display', 'none');
Expand Down

0 comments on commit cf3090e

Please sign in to comment.