push_type_auth 0.6.0.beta.1 → 0.6.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20151015181747_create_push_type_users.push_type.rb → 20151102165930_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181748_create_push_type_nodes.push_type.rb → 20151102165931_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181749_create_push_type_node_hierarchies.push_type.rb → 20151102165932_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181750_create_push_type_assets.push_type.rb → 20151102165933_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181751_create_push_type_taxonomies.push_type.rb → 20151102165934_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181752_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102165935_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181753_add_field_store_default_values.push_type.rb → 20151102165936_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151015181754_devise_extend_push_type_users.push_type_auth.rb → 20151102165937_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +680 -680
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b9JQPxW4JXsEMPg6IuwbcxAuP2OhDDjLKHRDAmL9gi0.cache → 2EThNHqLu_xwuBEx4vHV3OET28iaKx6e_PUWDDYCfNA.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3LxVbFL3l9A2TlSeH7h2o-F13L_JW1mkCx_M9d4C7A8.cache +46 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8Yus8_gDNuUFZEcVfeXKTB56TPihlWLL6d8qBUtlxhs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{EFi353vPjI0mCdem6bROYjtNuvlKj3EcwMkp5g5Mpj0.cache → 9uv1sZD3AP_O2KaJodca_1LtmauwIODXfzHvRu2G7-c.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b_s0LvGnXotYeP7ueqwDIpeRe_32gsm1zkbeE2UmozQ.cache → A3QMbn17wDkitGAvrQzrM5Yvwc4n485nbIme7P3pipI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AKNuwBosUS_xVARIwHOtZLhpTj0VGfcpMSDOzY5VYSM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{gTuX3cv-vdz9qv8gNX5F84Ei5mIJttVCsJjrqv4Np5g.cache → CASd7mtaP88OldKeSPlNlSe5Z0rXQDEwSVTCfeSoblw.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FtlieXse4_zwRlqG_RseVlz-TXIop-wClSIXiGyCa-k.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GSuwmAmknqPxy3lOcjsmOG1cGtWUAK67WCqDt3pWc0E.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{UXhmsxcPbGcG36Pk6KUujzn9noRkcRgGOohZ8wP8O58.cache → JWU4QAKxpGFz1WxBsIoXKK6IH5hWAZ6ulEAwKiOz1X4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NOLzY4N8876kNz0nVXOuWtF5FApAsa9NO-e4quADtHM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{WzG6jRDGbAJ41fKtKf8Rmip8oknkkLAfWgvOd0kkgjY.cache → RZ7U3cmHsXIKt6ekhKZP6Pw8KEtCwk7Hy9HViUWfQj0.cache} +2 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ti3ckxVqeNRd1ShfRfv4oOZZ8Boq8qKJB6y_Fv9ytU0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{4AF6EbpH49NMHFQdc9OnIUfkRLM8lKlSBqaBvUVo3KM.cache → Uh8MXM6z2fmNXc4sqqPfSRoLUQPEFMEmu2Ifr44NsEc.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{VkZ0DGEafpmCHjq-WFxDxbu3tQIQdddqOV-7qXmT_Js.cache → VT4ptrpfuw0joWBCiDIXoO5_j6knZOUqsEHVhSzZDug.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYzFefU0_ds10v4STNe8TB77tSdI0H_KoOTf3IC0W5w.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Za-bWpyPHwDgncSmeFii-kf2OBoGGfM9hq7a2ek4UB0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{bn4g9rKX92aXFOIF45FlF5DA0zMZCBDpiTSbD55ZsWA.cache → Zy6nYRgc2MyEGXCZnYSq-m1aAY44ChWxkTH6HT8TdOU.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lObpVI6whu6Za3BTLG5Hx8sNP9CVQ3ZMVzzdeK0NTQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{PghaRuu1VpTYo6FSvTUg-wiFBQhv4uj69lpKjI6JjKQ.cache → emReUhkfaQkbNvBYnI2hyBwbph-vKsk323NNnNZP2v0.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/f1opt7BM9dnmxGb_MLgUjRgCNqtffPgDaP1yQPYozHw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pbDdMevTripqjdLgZ-5gJL5yJ9u8_WN_wvD-2bDKchs.cache → fUjwjDI8TTWz2HrWHI5JMUs6j5Zhhpt4gu6RUqI_mUI.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/megN6QCcG4mwKczRObfHIHA8XpDGRwlsppU_Zz3_Tl4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oGabhBAYxeJ2uXArE6IRQrs9lp2BEAwkEQNAVAlZJr8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o_4u5rpJosTLleHQ6oFN50tkbxKhh8vZ-pV_WowjSHI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{eC-2Y2I8qyXJ7wrQBJz3ZhFKtD_pwn-cptPShWvKXT4.cache → p-RMJZhToSQmo_KPJdkWODZQZ4dnJ91jbL8gIxjXoZ0.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{W1e-QEtbbwHcA0az4RroxMuDRYpPb68Z9QWrh3M27_I.cache → pUDQP8HidXQvtJQEhTGC7_ODICFEiSU9Vh6peKiUX8o.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t3hCHk9ruCftcpXnkKI-fJNua82etX3bwNBEUtZ9lto.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{uZWjCUafkm7SECxzLEtFxy5P7sfw2rYKt8yN59KJ42Q.cache → uWg65r77iUJib7MTS9pw5aH9FKMjlzUSRKBD331BPtI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vcC8Jy6hXCQmtvaDthKUCjhefi2JHvMcweAO6q6iCrQ.cache +30 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{hHilQ4bcUd8onLMrObWVvrbBXGQji2ic5mYuEwKnnNY.cache → xW0MZCmr6qsKPiKHi-p_tpm4quTg9MjmOa-Od5_rIU4.cache} +10 -3
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{tli_LD_p18lfhUBkYvg05DnTi6ub4yzVxobMsgAhJ80.cache → yVAlvXhvMp6zOjyiiyQBHnvrEidq7VqKYL8AtUH97uY.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{oPvGci8wIDxeMOWgaH9tg9cmiw_uXWAnEgNSB1G36C4.cache → zU6SWg93-hpgJyTjFP15NSTMQgfkIQ0RK2aq5zpJXaQ.cache} +30 -4
- metadata +86 -116
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0Mgh5nyc3Pzes6lDtGL-Gv6ROsVKBh0lUsGUKzXw9kc.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1bVhd3dFMo9Ta1ZpKfvQhdvM5qaev4RvY_3DMATQbrM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1nNN5hiPJhSBFbXuNhBFG9MAnwLc93VFIaeblAGZ3To.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5P1BK5rrkt_pXJofFRcpFsmzd_MJW8pl403ygUGDDxs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5eYnCJcXnQkAOctRXxDskITlrtsk7nrYlEf8qxbEpgo.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5qCJaEhgPbRPDUGCudAamasvrzwHon7PLBJ3kPdq21s.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8OSaAe5xd1TtBUWFtqunZLYGKr-iTN8p_PgoaSfNjB4.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AFosvpRRM0x48rPHPouVE6eBrYZY6rcsRuUatpTfJzY.cache +0 -10
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EfhRYuSCpVmiWXUWtbKDKzGwk58paaV2GPb4_rREQPg.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H3uM2R6qlfQ8WXNmFFe23Sw3CSzcZm5YubuWd5pUIQA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/J8kzo4amsH6wL9Smiyw2zQ1rkjrO_iiJP3-7P_3W4qA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYdGQ31taQ80bQiRyD5P527fNvIZmseD3OPEXwkWAYE.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Nut9NY263iE2JHbMgV8KTaKMThqrxHG242447k_-VG4.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PJ2ondm6na55yEj8Q6fzW4hErJNAV0hEJpN9a04eZ6I.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PLJqtbGuGip_S21FMzWEwuL8tHSd3_L_e9lBchsOD_Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YFAro2UoBm8P_QlrbBg2oTTP4EJddGbzgT_-7tFdP9M.cache +0 -11
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YNPSWoHxiTzJIdNt3nDkJQuR60jdFqw58LfFMz2WUkE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YiHXNl-e6pgl9d3wk6J5jSq2zt9W9tmKloipy49G6XE.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bapjpNlEDk-joNMCwQsUJoDKICYoYGukAfDmBon6hO0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cgRz1kQTuswK7Bo8D5znvQXHywdhrORz5fWIydag1F0.cache +0 -21
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e6yFwTLDDEwVn9G3mpsV_5f5r68_Ht5HSyOBjhhrioY.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hHoFdLF-c8SLdDf6BH8UmOS6j1HFnvT40DiKakWrRJE.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ij1h-nsseqe7QjynUzOIy_ewVf4ChzVoR2uAAuEvjCY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jKX8VTCvXUSDC6yVThQiAX_wf1EWIkrZDhShrJnpFbQ.cache +0 -21
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mZf34r0DjzryIiaM7TY7d5qOdD02esR0mCd6sNH3r-k.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/muDDpoKNrUnYa7QCaUYWGeiwHFzO5RDGJUA-wj606Bs.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rpmymrTDaltDPEmKOAQPQ2FObPIrhRDS-6ImndpqPb0.cache +0 -17
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sEa2reB8yNAAce0aN3ByKwFb1NmMmqK3hh9CDh6wYdA.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t_gbM3iDelNCbFx1f94Th2HHAAEr9E6mgKDWru8YYpI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y3KGeoqel0zi9J24AzufRd1-enK-SZMtCdTOxn3pxHQ.cache +0 -1
Binary file
|
@@ -1,2 +1,2 @@
|
|
1
1
|
[o:Set:
|
2
|
-
@hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"
|
2
|
+
@hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"|file-digest:///Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/select_fields.js.coffee;TT
|
@@ -0,0 +1,46 @@
|
|
1
|
+
I"�(function() {
|
2
|
+
this.app.directive('repeaterField', [
|
3
|
+
'$compile', '$timeout', function($compile, $timeout) {
|
4
|
+
return {
|
5
|
+
restrict: 'A',
|
6
|
+
scope: true,
|
7
|
+
link: function($scope, $el, $attrs) {
|
8
|
+
var $rows, template;
|
9
|
+
$rows = $('.rows', $el);
|
10
|
+
template = $('.template', $el).text();
|
11
|
+
$scope.addRow = function() {
|
12
|
+
var $dom, $row, uid;
|
13
|
+
uid = Math.uid();
|
14
|
+
$row = $(template);
|
15
|
+
$row.attr('data-uid', uid);
|
16
|
+
$rows.append($row);
|
17
|
+
$dom = $("[data-uid='" + uid + "']", $rows);
|
18
|
+
$compile($dom)($scope);
|
19
|
+
$timeout(function() {
|
20
|
+
return $dom.trigger('init.fndtn');
|
21
|
+
});
|
22
|
+
return true;
|
23
|
+
};
|
24
|
+
if (!$rows.children().length) {
|
25
|
+
return $scope.addRow();
|
26
|
+
}
|
27
|
+
}
|
28
|
+
};
|
29
|
+
}
|
30
|
+
]);
|
31
|
+
|
32
|
+
this.app.directive('repeaterRow', function() {
|
33
|
+
return {
|
34
|
+
restrict: 'A',
|
35
|
+
scope: true,
|
36
|
+
link: function($scope, $el, $attrs) {
|
37
|
+
return $scope.removeRow = function() {
|
38
|
+
$el.remove();
|
39
|
+
return true;
|
40
|
+
};
|
41
|
+
}
|
42
|
+
};
|
43
|
+
});
|
44
|
+
|
45
|
+
}).call(this);
|
46
|
+
:ET
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/asset_field.js.coffee?type=application/javascript&pipeline=self&id=
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/asset_field.js.coffee?type=application/javascript&pipeline=self&id=efd2822f3e9a57d69cc5ffc9da59c241bca7b6a596203090c5534254fd4f03af:ET
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�~tl�ϐ����T/�f)��5V7I�G\����
|
@@ -1 +1 @@
|
|
1
|
-
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/repeater_field.js.coffee?type=application/javascript&pipeline=self&id=
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/repeater_field.js.coffee?type=application/javascript&pipeline=self&id=f626b032e4b177fd50e842e503d5f05e3ca6ff5aba3445ce3ed0c993b81b6c8f:ET
|
Binary file
|
Binary file
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
"%p�:Y���H��ϠZ��~�����%�۲����
|
@@ -1,9 +1,10 @@
|
|
1
|
-
I"�(function() {
|
1
|
+
I"�(function() {
|
2
2
|
this.app.controller('AssetFieldCtrl', [
|
3
3
|
'$scope', '$http', function($scope, $http) {
|
4
4
|
$scope.$modal = null;
|
5
5
|
$scope.assets = [];
|
6
6
|
$scope.meta = {};
|
7
|
+
$scope.uid = 'asset-' + Math.uid();
|
7
8
|
$scope.loadAssets = function(page) {
|
8
9
|
var config, req;
|
9
10
|
config = page != null ? {
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/admin.js.coffee?type=application/javascript&id=
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/admin.js.coffee?type=application/javascript&id=6bae2d4a1c9ca09c39da5c5cea9595f8ec5df34d6fedd658fc8b33a1e8119cd6:ET
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/admin.js.coffee?type=application/javascript&pipeline=self&id=
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/admin.js.coffee?type=application/javascript&pipeline=self&id=b948b896daf9d03058e16115b2c05c407e68101d5e8aad233a0f4fbcc98de503:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�0V�9��Ji%�a�0�+\�ˌ�i@yv�7B�
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/select_fields.js.coffee?type=application/javascript&pipeline=self&id=75e0e4990f866339e0de6ffb31b4d15fb662cea143402004160b333edfbcea2e:ET
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
"%��I�>i��� �Ne܁#o��:̙[�6�
|
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
I"M(function() {
|
2
|
+
var opts;
|
3
|
+
|
4
|
+
opts = {
|
5
|
+
date: {
|
6
|
+
format: 'd mmmm yyyy',
|
7
|
+
formatSubmit: 'yyyy-mm-dd',
|
8
|
+
hiddenName: true
|
9
|
+
},
|
10
|
+
time: {
|
11
|
+
format: 'h:i A',
|
12
|
+
formatSubmit: 'HH:i',
|
13
|
+
formatLabel: 'h:i A <sm!all>HH:i</sm!all>',
|
14
|
+
hiddenName: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
|
18
|
+
this.app.directive('pickadate', function() {
|
19
|
+
return function($scope, $el, $attrs) {
|
20
|
+
switch ($attrs['pickadate']) {
|
21
|
+
case 'date':
|
22
|
+
return $($el).pickadate(opts.date);
|
23
|
+
case 'time':
|
24
|
+
return $($el).pickatime(opts.time);
|
25
|
+
}
|
26
|
+
};
|
27
|
+
});
|
28
|
+
|
29
|
+
}).call(this);
|
30
|
+
:ET
|
@@ -1,6 +1,10 @@
|
|
1
|
-
I"
|
1
|
+
I"#(function() {
|
2
2
|
Turbolinks.enableProgressBar();
|
3
3
|
|
4
|
+
Math.uid = function() {
|
5
|
+
return Math.floor(Math.random() * 16777215).toString(16);
|
6
|
+
};
|
7
|
+
|
4
8
|
this.app = angular.module('push_type', ['ui.tree']);
|
5
9
|
|
6
10
|
this.app.run([
|
@@ -21,9 +25,12 @@
|
|
21
25
|
});
|
22
26
|
|
23
27
|
$(document).on('ready page:load', function() {
|
24
|
-
$(document).
|
25
|
-
|
28
|
+
$(document).on('init.fndtn', function(a, b, c) {
|
29
|
+
$(a.target).foundation();
|
30
|
+
return $(a.target).confirmWithReveal();
|
31
|
+
});
|
26
32
|
angular.bootstrap($('[role="main"]'), ['push_type']);
|
33
|
+
$(document).trigger('init.fndtn');
|
27
34
|
return $('.node-list.sortable').sortable({
|
28
35
|
handle: '.handle',
|
29
36
|
forcePlaceholderSize: true
|
@@ -1 +1 @@
|
|
1
|
-
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/date_time_fields.js.coffee?type=application/javascript&pipeline=self&id=
|
1
|
+
I"�/Users/aaron/dev/pushcode/push_type/admin/app/assets/javascripts/push_type/fields/date_time_fields.js.coffee?type=application/javascript&pipeline=self&id=307d5c6cb20e9689d1125d77b95512e7efe40b9660d18b5f58d0569ce7d33528:ET
|
@@ -1,6 +1,17 @@
|
|
1
|
-
I"
|
2
|
-
|
3
|
-
|
1
|
+
I"�(function() {
|
2
|
+
var opts;
|
3
|
+
|
4
|
+
opts = {
|
5
|
+
select: {
|
6
|
+
plugins: ['remove_button'],
|
7
|
+
hideSelected: false
|
8
|
+
},
|
9
|
+
tag_list: {
|
10
|
+
plugins: ['remove_button', 'drag_drop'],
|
11
|
+
create: true,
|
12
|
+
persist: false
|
13
|
+
},
|
14
|
+
relation: {
|
4
15
|
plugins: ['remove_button'],
|
5
16
|
hideSelected: false,
|
6
17
|
onInitialize: function() {
|
@@ -26,7 +37,22 @@
|
|
26
37
|
return "<div class=\"option\">" + pre + (esc(item.text)) + "</div>";
|
27
38
|
}
|
28
39
|
}
|
29
|
-
}
|
40
|
+
}
|
41
|
+
};
|
42
|
+
|
43
|
+
this.app.directive('selectize', function() {
|
44
|
+
return function($scope, $el, $attrs) {
|
45
|
+
switch ($attrs['selectize']) {
|
46
|
+
case 'select':
|
47
|
+
return $($el).selectize(opts.select);
|
48
|
+
case 'tag_list':
|
49
|
+
return $($el).selectize(opts.tag_list);
|
50
|
+
case 'relation':
|
51
|
+
case 'node':
|
52
|
+
case 'taxonomy':
|
53
|
+
return $($el).selectize(opts.relation);
|
54
|
+
}
|
55
|
+
};
|
30
56
|
});
|
31
57
|
|
32
58
|
}).call(this);
|