slash_admin 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e54a8cbe74abf105fd96b813ef1f1b7c18afc9380a3398f497286a86bae1b873
|
|
4
|
+
data.tar.gz: 263c95daf14139dabd87644dc2be83c3a85768f99fd2c9dc7e807dab3910ab28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 782521d337cef058b705334917025e012e4be57f5caffb70ab0558e7c70567369d77bb2d94047aa689b84ebf65ebe206b439f73d3f9201a011bfe38e1acd8b03
|
|
7
|
+
data.tar.gz: ceb918280bb0648ed1bc5973c30ef77a119fa14f47810b253b988ea801e48cbc40c7a685cc6024b497a8656605e317726397447c1538938ae2e920b8b4c8ab6d
|
|
@@ -207,7 +207,7 @@ function init() {
|
|
|
207
207
|
|
|
208
208
|
|
|
209
209
|
$(".select2-single, .select2-multiple").each (function() {
|
|
210
|
-
|
|
210
|
+
var initialPlaceholder = $(this).attr('data-placeholder') || I18n.t('slash_admin.view.select');
|
|
211
211
|
|
|
212
212
|
$(this).select2({
|
|
213
213
|
placeholder: initialPlaceholder,
|
|
@@ -228,7 +228,7 @@ function init() {
|
|
|
228
228
|
});
|
|
229
229
|
|
|
230
230
|
$(".select2-model-multiple, .select2-model-single").each(function() {
|
|
231
|
-
|
|
231
|
+
var initialPlaceholder = $(this).attr('data-placeholder') || I18n.t('slash_admin.view.select');
|
|
232
232
|
|
|
233
233
|
$(this).select2({
|
|
234
234
|
placeholder: initialPlaceholder,
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
<script type="text/javascript">
|
|
75
75
|
$(function() {
|
|
76
76
|
$(".clickable-row").click(function() {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
var href = $(this).data("href");
|
|
78
|
+
var blank = $(this).data("blank");
|
|
79
79
|
|
|
80
80
|
if (blank === true) {
|
|
81
81
|
window.open = href;
|
data/lib/slash_admin/version.rb
CHANGED