Sun Dec 11 2016
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
if(settings.apiSettings) {
            if( module.can.useAPI() ) {
              module.queryRemote(searchTerm, function() {
                
                
                afterFiltered();
                module.filterItems(searchTerm);
              });
            }
            else {
              module.error(error.noAPI);
            }
          }