searchViz 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/searchViz/version.rb +1 -1
- data/vendor/assets/javascripts/searchViz.js +6 -6
- metadata +2 -2
data/lib/searchViz/version.rb
CHANGED
@@ -32,26 +32,26 @@ searchVizCookie = function(urlrpeplaceRP, urlrpeplaceH, opt) {
|
|
32
32
|
}
|
33
33
|
};
|
34
34
|
|
35
|
-
OnHashDataLoad = function(
|
35
|
+
OnHashDataLoad = function(blkId, pathCall, ctrlQ, opt) {
|
36
36
|
var hash, path, url, urlh, urlrp;
|
37
37
|
if (opt === "H") {
|
38
38
|
hash = window.location.hash.substring(1);
|
39
39
|
path = window.location.pathname;
|
40
|
-
url =
|
40
|
+
url = pathCall + hash + "&triggerCall=svZ" + "&ctrlQ=" + ctrlQ;
|
41
41
|
urlrp = path + hash;
|
42
42
|
urlh = hash;
|
43
43
|
$.get(url, function(data, status, xhr) {
|
44
|
-
$("#" +
|
44
|
+
$("#" + blkId).html(data);
|
45
45
|
return searchVizCookie(urlrp, urlh, "H");
|
46
46
|
});
|
47
47
|
}
|
48
48
|
};
|
49
49
|
|
50
|
-
HashDataLoad = function(path,
|
50
|
+
HashDataLoad = function(path, hashData, pageId, q, opt) {
|
51
51
|
var urlh, urlrp;
|
52
52
|
if (opt === "H") {
|
53
|
-
urlrp = path + "?q=" + q + "&
|
54
|
-
urlh = "?q=" + q + "&
|
53
|
+
urlrp = path + "?q=" + q + "&pageId=" + pageId + hashData;
|
54
|
+
urlh = "?q=" + q + "&pageId=" + pageId + hashData;
|
55
55
|
return searchVizCookie(urlrp, urlh, "H");
|
56
56
|
}
|
57
57
|
};
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: searchViz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Write a gem description
|
15
15
|
email:
|