Permalink
Browse files

Prevent multiple search

  • Loading branch information...
1 parent 250b420 commit afe8e120a829ad1b9e0f19fba84b32cefb5e913b @cdujeu cdujeu committed Aug 25, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/plugins/gui.ajax/res/js/ui/prototype/class.SearchEngine.js
@@ -703,6 +703,9 @@ Class.create("SearchEngine", AjxpPane, {
* Perform search
*/
search : function(limit, skipClear){
+ if(this._state === 'searching' || this._state === 'interrupt'){
+ return;
+ }
if(!limit){
this.currentLimitDefault = true;
limit = 100;

0 comments on commit afe8e12

Please sign in to comment.