It works....
Thanks a lot!
Bogumił
W dniu 2014-07-23 20:38, Armin Burger pisze:
> $.extend(PM.Query,
> {
> createSearchItems: function(url) {
> $.ajax({
> url: url,
> dataType: "json",
> success: function(response){
> var searchJson = response.searchJson;
> var action = response.action;
>
> if (action == 'searchitem') {
> PM.Query.createSearchInput(searchJson);
> } else {
> delete searchJson.options[0];
> var searchHtml = PM.Query.json2Select(searchJson, "0");
> $('#searchoptions').html(searchHtml);
> PM.Query.setSearchInput();
> $('#searchoptions').html(_p("Search
> for")).css({"white-space": "nowrap"});
> }
> },
> error: function (XMLHttpRequest, textStatus, errorThrown) {
> if (window.console) console.log(errorThrown);
> }
> });
> }
>
> });
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users