blacklight-spotlight 3.6.0.beta9 → 3.6.0.beta10
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 +4 -4
- data/app/assets/javascripts/spotlight/spotlight.esm.js +6 -6
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +6 -6
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/javascript/spotlight/admin/users.js +6 -6
- data/lib/spotlight/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17ba7063f03c11f47d55df8f497db57b89933eca4040b9991eb285eb66877223
|
|
4
|
+
data.tar.gz: a9c201deeb7ebcb3d4f4481f5ed5903a6126b02ddb589a64096ac3472c99814d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54f956d04742f327214c88d2f9a188038c60e9bc24bb3f1e4f0ba4d1a05f0467b7b59bcdd5bf7d58df42b33b5f6aee003dfe8b82d51efc6850b3e94d8243d4da
|
|
7
|
+
data.tar.gz: 38b464e845bdf8d043b851d91d00773f93a8e02bb5d9b3960ffa32f083f0d5222ba564344cc2e872bb5f07f49145999df70864b49ddf31959a48fe8b91d448a0
|
|
@@ -5579,8 +5579,8 @@ class Users {
|
|
|
5579
5579
|
function edit_user(event) {
|
|
5580
5580
|
event.preventDefault();
|
|
5581
5581
|
$(this).closest('tr').hide();
|
|
5582
|
-
id = $(this).attr('data-target');
|
|
5583
|
-
edit_view = $("[data-edit-for='"+id+"']", container).show();
|
|
5582
|
+
const id = $(this).attr('data-target');
|
|
5583
|
+
const edit_view = $("[data-edit-for='"+id+"']", container).show();
|
|
5584
5584
|
$.each(edit_view.find('input[type="text"], select'), function() {
|
|
5585
5585
|
// Cache original values incase editing is canceled
|
|
5586
5586
|
$(this).data('orig', $(this).val());
|
|
@@ -5589,8 +5589,8 @@ class Users {
|
|
|
5589
5589
|
|
|
5590
5590
|
function cancel_edit(event) {
|
|
5591
5591
|
event.preventDefault();
|
|
5592
|
-
id = $(this).closest('tr').attr('data-edit-for');
|
|
5593
|
-
edit_view = $("[data-edit-for='"+id+"']", container).hide();
|
|
5592
|
+
const id = $(this).closest('tr').attr('data-edit-for');
|
|
5593
|
+
const edit_view = $("[data-edit-for='"+id+"']", container).hide();
|
|
5594
5594
|
clear_errors(edit_view);
|
|
5595
5595
|
rollback_changes(edit_view);
|
|
5596
5596
|
$("[data-show-for='"+id+"']", container).show();
|
|
@@ -5610,13 +5610,13 @@ class Users {
|
|
|
5610
5610
|
}
|
|
5611
5611
|
|
|
5612
5612
|
function destroy_user(event) {
|
|
5613
|
-
id = $(this).attr('data-target');
|
|
5613
|
+
const id = $(this).attr('data-target');
|
|
5614
5614
|
$("[data-destroy-for='"+id+"']", container).val('1');
|
|
5615
5615
|
}
|
|
5616
5616
|
|
|
5617
5617
|
function new_user(event) {
|
|
5618
5618
|
event.preventDefault();
|
|
5619
|
-
edit_view = $("[data-edit-for='new']", container).show();
|
|
5619
|
+
const edit_view = $("[data-edit-for='new']", container).show();
|
|
5620
5620
|
$.each(edit_view.find('input[type="text"], select'), function() {
|
|
5621
5621
|
// Cache original values incase editing is canceled
|
|
5622
5622
|
$(this).data('orig', $(this).val());
|