Project

General

Profile

« Previous | Next » 

Revision 7537

remove explicit reference to KNB when Metacat may not be deployed as the KNB node. This has bothered my for a while, too. https://projects.ecoinformatics.org/ecoinfo/issues/3736

View differences:

lib/style/skins/default/include_searchbox.jsp
78 78
                var searchString = trim(searchBox.value);
79 79

  
80 80
                if (searchString=="") {
81
                        if (confirm("Show *all* data in the KNB?")) {
81
                        if (confirm("Show *all* data?")) {
82 82
          			searchString = "%";
83 83
        		} else {
84 84
          			return false;
lib/style/skins/obfs/index.jsp
53 53
		var checkBox = document.getElementById("searchAll");
54 54

  
55 55
                if (searchString=="") {
56
                       if (confirm("Show *all* data in the KNB?")) {
56
                       if (confirm("Show *all* data?")) {
57 57
            			searchString = "%";
58 58
          		} else {
59 59
            			return false;
lib/style/skins/nceas/search.js
7 7
    var checkBox = document.getElementById("searchAll");
8 8

  
9 9
    if (searchString=="") {
10
        if (confirm("Show *all* data in the KNB?")) {
10
        if (confirm("Show *all* data?")) {
11 11
            searchString = "%";
12 12
        } else {
13 13
            return false;
lib/style/skins/knb2/portalpages.js
38 38
  var canSearch = true;
39 39
  var searchString = trim(formObj.elements["anyfield"].value);
40 40
  if (searchString=="") {
41
    if (confirm("Show *all* data in the KNB?\n(this may take some time!)")) {
41
    if (confirm("Show *all* data?\n(this may take some time!)")) {
42 42
	  formObj.elements["anyfield"].value = "%";
43 43
	  canSearch = true;
44 44
	} else {
lib/style/skins/nrs/index.jsp
53 53
		var checkBox = document.getElementById("searchAll");
54 54

  
55 55
                if (searchString=="") {
56
			if (confirm("Show *all* data in the KNB?")) {
56
			if (confirm("Show *all* data?")) {
57 57
            			searchString = "%";
58 58
          		} else {
59 59
            			return false;

Also available in: Unified diff