Skip to content

Commit

Permalink
Coding style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck authored and mlewand committed Nov 4, 2013
1 parent beb5abc commit 95b530e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/image2/dialogs/image2.js
Expand Up @@ -537,9 +537,10 @@ CKEDITOR.dialog.add( 'image2', function( editor ) {
]
};

if ( !editor.config.filebrowserImageBrowseUrl && !editor.config.filebrowserBrowseUrl )
if ( !editor.config.filebrowserImageBrowseUrl && !editor.config.filebrowserBrowseUrl ) {
// Replaces hbox (which should contain button#browse but is hidden) with text control.
ret.contents[ 0 ].elements[ 0 ].children[ 0 ] = ret.contents[ 0 ].elements[ 0 ].children[ 0 ].children[ 0 ];
}

return ret;
} );

0 comments on commit 95b530e

Please sign in to comment.