Skip to content

Commit

Permalink
Add jQuery.noConflict
Browse files Browse the repository at this point in the history
  • Loading branch information
galetahub committed Aug 23, 2012
1 parent 0504705 commit c995944
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/assets/javascripts/ckeditor/config.js
Expand Up @@ -3,6 +3,8 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

jQuery.noConflict();

CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
Expand Down Expand Up @@ -47,10 +49,9 @@ CKEDITOR.editorConfig = function( config )
config.addQueryString = function( url, params ){
var queryString = [];

if ( !params )
if ( !params ) {
return url;
else
{
} else {
for ( var i in params )
queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
}
Expand Down

0 comments on commit c995944

Please sign in to comment.