Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 't/9726'
  • Loading branch information
Garry Yao committed Nov 29, 2012
2 parents 1a3cc56 + 3f80067 commit 009eab7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions plugins/tabletools/dialogs/tableCell.js
Expand Up @@ -12,7 +12,8 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) {
heightPattern = /^(\d+(?:\.\d+)?)px$/,
bind = CKEDITOR.tools.bind,
spacer = { type: 'html', html: ' ' },
rtl = editor.lang.dir == 'rtl';
rtl = editor.lang.dir == 'rtl',
colorDialog = editor.plugins.colordialog;

return {
title: langCell.title,
Expand Down Expand Up @@ -323,7 +324,7 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) {
selectedCell.removeAttribute( 'bgColor' );
}
},
{
colorDialog ? {
type: 'button',
id: 'bgColorChoose',
"class": 'colorChooser',
Expand All @@ -339,7 +340,7 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) {
this.focus();
}, this );
}
}
} : spacer
]
},
spacer,
Expand Down Expand Up @@ -369,7 +370,8 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) {
selectedCell.removeAttribute( 'borderColor' );
}
},
{

colorDialog ? {
type: 'button',
id: 'borderColorChoose',
"class": 'colorChooser',
Expand All @@ -386,7 +388,7 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor ) {
this.focus();
}, this );
}
}
} : spacer
]
}
]
Expand Down

0 comments on commit 009eab7

Please sign in to comment.