graph_starter 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe93e3b4485fb11e6b234575e8956264806d8a0
|
4
|
+
data.tar.gz: 8ea84aec1685d6a9579d5cf6771e8ca7fb3a8374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0648dcc302d23cb371ee7aaebf85ffd275715a0021e4de5705ae90513db2bda5397c3eae3e2b7c7ba5a1aec49faf10811b29c0a2113bfcd173a07ba60a003a2e
|
7
|
+
data.tar.gz: 49e4d8570fb841d8d025cb8903463eab61c3e9a799216d4109e04fecdf8125e3ef75c80d121c12d628895a8ec3898853d8999791a9b73ab913b17ce31758678a
|
@@ -9,15 +9,9 @@
|
|
9
9
|
.ui.divider
|
10
10
|
|
11
11
|
javascript:
|
12
|
-
|
12
|
+
$('.ui.search').search({onSelect: function (result, response) { window.location.replace(result.url) }})
|
13
13
|
|
14
|
-
|
15
|
-
$('.ui.search').search
|
16
|
-
onSelect: (result, response) ->
|
17
|
-
window.location.replace(result.url)
|
18
|
-
|
19
|
-
$.fn.api.settings.api =
|
20
|
-
search: "/#{controller}/search/{query}.json"
|
14
|
+
$.fn.api.settings.api = {search: "/#{@model_slug}/search/{query}.json"}
|
21
15
|
|
22
16
|
- count = @assets.size
|
23
17
|
- total_count = @model_class_scope.count
|