                 </div>
                 <div id=\"#{@options.uuid}-tab-upload-content\" class=\"#{widget.widgetName}-tab #{widget.widgetName}-tab-upload\">UPLOAD</div>
             </div></div>"
-            
+
             jQuery(@options.dialog).contents().find('#search_form').submit (event) ->
                 that = @
                 jQuery.ajax({
                     type: "GET",
-                    url: "/app_dev.php/liip/vie/assets/search/",
+                    url: @options.searchUrl,
                     data: "page=1&length=4&searchString=2",
                     success: (response) ->
                         items = Array()

            editable: null
            toolbar: null
            uuid: ""
            dialogOpts:
                autoOpen: false
                width: 270

                    </div>
                </div>
                <div id=\"#{@options.uuid}-tab-search-content\" class=\"#{widget.widgetName}-tab #{widget.widgetName}-tab-search\">
                    <form action=\"#{@options.searchUrl}/?page=1&length=4\" tpye=\"post\" id=\"search_form\">
                        <input type=\"text\" class=\"searchInput\" /><input type=\"submit\" class=\"searchButton\" value=\"OK\"/>
                    </form>
                    <div class=\"searchResults\">
