1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

[search] added 'advanced search' for top-search-form and search-result page

This commit is contained in:
llj
2013-05-20 15:03:55 +08:00
committed by lins05
parent 0fbc6cd0f2
commit 7f1ccc52e3
6 changed files with 232 additions and 98 deletions

View File

@@ -362,3 +362,15 @@ function disable(btn) {
function enable(btn) {
btn.removeAttr('disabled').removeClass('btn-disabled');
}
// for browsers don't support array.indexOf
if (!Array.indexOf) {
Array.prototype.indexOf = function(obj){
for(var i = 0; i < this.length; i++){
if(this[i] == obj){
return i;
}
}
return -1;
}
}