rbbt-rest 1.6.10 → 1.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/common/render.rb +1 -0
- data/share/views/public/js/rbbt/list.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7763a5496468233bb5b6c56ce00aa1b64b8a4e34
|
4
|
+
data.tar.gz: 7597edbc8e84fafe673ac07856eaa6f69968c249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8921a6b82fa77c8a2af49abd61c6d8408cccdeb9c1f1f4f540ba26d3d2ae9685a6c895cd4d6db7afa2c75120691fa07c9531a59af5aa6d0179a001902f5b70
|
7
|
+
data.tar.gz: 9ae24e4295ce89762e4bd9861bf91f369529ee391b02aa66a4f4d63abeef81eb79f0049f6e325365c519c08d2ccfe94034ca1dcaa1a014bc563667439b767234
|
@@ -106,6 +106,7 @@ module RbbtRESTHelpers
|
|
106
106
|
begin
|
107
107
|
res = capture_haml &block
|
108
108
|
Open.write(fragment_file, res)
|
109
|
+
Log.low("Fragment done: #{ fragment_file }")
|
109
110
|
rescue Exception
|
110
111
|
Open.write(fragment_file + '.error', [$!.class.to_s, $!.message] * ": ")
|
111
112
|
Open.write(fragment_file + '.backtrace', $!.backtrace * "\n") if $!.backtrace
|
@@ -40,7 +40,7 @@ body.on('click', 'a.compare_list', function(){
|
|
40
40
|
|
41
41
|
body.on('click', 'a.intersect_lists', function(){
|
42
42
|
var link = $(this);
|
43
|
-
var other_list_id = link.parent().parent().
|
43
|
+
var other_list_id = link.parent().parent().find("a.entity_list").attr('title');
|
44
44
|
var type = clean_element(page_entity_type());
|
45
45
|
var list_id = page_entity_list();
|
46
46
|
var params = "other_list_id=" + clean_element(other_list_id)
|
@@ -49,7 +49,7 @@ body.on('click', 'a.intersect_lists', function(){
|
|
49
49
|
})
|
50
50
|
body.on('click', 'a.remove_list', function(){
|
51
51
|
var link = $(this);
|
52
|
-
var other_list_id = link.parent().parent().
|
52
|
+
var other_list_id = link.parent().parent().find("a.entity_list").attr('title');
|
53
53
|
var type = clean_element(page_entity_type());
|
54
54
|
var list_id = page_entity_list();
|
55
55
|
var params = "other_list_id=" + clean_element(other_list_id)
|
@@ -58,7 +58,7 @@ body.on('click', 'a.remove_list', function(){
|
|
58
58
|
})
|
59
59
|
body.on('click', 'a.add_list', function(){
|
60
60
|
var link = $(this);
|
61
|
-
var other_list_id = link.parent().parent().
|
61
|
+
var other_list_id = link.parent().parent().find("a.entity_list").attr('title');
|
62
62
|
var type = clean_element(page_entity_type());
|
63
63
|
var list_id = page_entity_list();
|
64
64
|
var params = "other_list_id=" + clean_element(other_list_id)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|