diff --git js/imagebrowser.js js/imagebrowser.js index 4f7df91..87c2b27 100644 --- js/imagebrowser.js +++ js/imagebrowser.js @@ -114,3 +114,12 @@ Drupal.behaviors.imagebrowser = function(context) { }, 2000); } } + +/* Set correct action for the exposed forms. */ +$(document).ready(function() { + $('form').each(function() { + if(this.id.match(/^views-exposed/i)) { + $('#'+this.id).attr('action',Drupal.settings.basePath + 'imagebrowser/ib_fckeditor'); + } + }); +});