-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-allow to search by email in broker report -make broker report sql more efficient
- Loading branch information
Showing
8 changed files
with
73 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function ready(fn) { | ||
if (document.readyState != 'loading'){ | ||
fn(); | ||
} else if (document.addEventListener) { | ||
document.addEventListener('DOMContentLoaded', fn); | ||
} else { | ||
document.attachEvent('onreadystatechange', function() { | ||
if (document.readyState != 'loading') | ||
fn(); | ||
}); | ||
} | ||
} | ||
|
||
ready(function () { | ||
var items = document.getElementsByClassName('set-email'); | ||
for (var i = 0; i < items.length; i++) { | ||
items[i].addEventListener('click', function () { | ||
var email = this.textContent.trim(); | ||
document.getElementById('Email').value = email; | ||
document.getElementById('Offset').value = 0; | ||
document.getElementById('search-form').submit(); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters