1
0
forked from GitHub/gf-core

RGL Browser: added show local option

This commit is contained in:
john.j.camilleri
2012-05-15 13:32:49 +00:00
parent d13f71a27e
commit ab28a26db5
4 changed files with 13 additions and 10 deletions

View File

@@ -231,8 +231,9 @@ $(document).ready(function() {
// Custom selector
$.expr[':'].match = function(a,b,c) {
var obj = $(a);
var needle = c[3];
var haystack = $(a).attr('name');
var haystack = obj.attr('name');
if (haystack == undefined)
return false;
if ($("#case_sensitive").is(":checked"))
@@ -251,6 +252,9 @@ $(document).ready(function() {
} else {
$("#scope_list tr").show();
}
if ($("#show_local").is(":checked") ) {
$("#scope_list tr.indir").hide();
}
} catch (error) {
alert(error.message);
}
@@ -276,4 +280,6 @@ $(document).ready(function() {
runfilter();
});
$("#case_sensitive").change(runfilter);
$("#show_all").change(runfilter);
$("#show_local").change(runfilter);
});