thecore_ui_rails_admin 3.0.13 → 3.0.14
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e361f68568a7a8a7f014519a72f3b66dd61eecde84b9d65b7d6e9721f6317601
|
4
|
+
data.tar.gz: e42960b81b4412b886043aa870b2de6683d1c8525bac5909b0ec2ae7590ba9a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3b99fc8d9e67f863f0d3b22d35304dac6b0c240e82c3a90d718a3f58f0a67de58db64680ef2f343ae2a4c5acc73f4b4602a6c9891f6fc09cd080ef56cb70414
|
7
|
+
data.tar.gz: 7994615a20b163b5af4fde34ed0d577ecc86acdad999a5e7b7970fb32ea7297a8a07a739d0308528db865014d04b42b88c260c6d0e4214c8625646fc72d38eb9
|
@@ -2,9 +2,28 @@
|
|
2
2
|
|
3
3
|
//= require 'selectize.min'
|
4
4
|
//= require 'thecore_ui_commons'
|
5
|
+
//= require 'rails_admin/custom/thecore/ui'
|
5
6
|
|
6
7
|
const adjustIframe = function(obj) {
|
8
|
+
console.log("Resizing");
|
7
9
|
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
|
8
10
|
};
|
9
11
|
|
10
|
-
|
12
|
+
let currentURL = new URL(window.location.href);
|
13
|
+
|
14
|
+
$(document).on('turbo:load', function (event) {
|
15
|
+
currentURL = new URL(event.originalEvent.detail.url);
|
16
|
+
console.log("Page loaded listening to turbo:load event", currentURL.href);
|
17
|
+
console.log(" - Protocol:", currentURL.protocol);
|
18
|
+
console.log(" - Username:", currentURL.username);
|
19
|
+
console.log(" - Password:", currentURL.password);
|
20
|
+
console.log(" - Host:", currentURL.host);
|
21
|
+
console.log(" - Hostname:", currentURL.hostname);
|
22
|
+
console.log(" - Port:", currentURL.port);
|
23
|
+
console.log(" - Pathname:", currentURL.pathname);
|
24
|
+
console.log(" - Search:", currentURL.search);
|
25
|
+
currentURL.searchParams.forEach((v, k) => {
|
26
|
+
console.log(` - ${k}: ${v}`);
|
27
|
+
})
|
28
|
+
console.log(" - Hash:", currentURL.hash);
|
29
|
+
});
|
@@ -1,8 +1,9 @@
|
|
1
1
|
Rails.application.config.assets.precompile += %w(
|
2
2
|
rails_admin/custom/thecore/selectize.default.min.css
|
3
3
|
selectize.min.js
|
4
|
-
rails_admin/custom/thecore/ui.js
|
5
4
|
rails_admin/custom/thecore/mixins.css
|
6
5
|
rails_admin/custom/thecore/variables.css
|
7
6
|
rails_admin/custom/thecore/theming.css
|
7
|
+
rails_admin/custom/ui.js
|
8
|
+
rails_admin/custom/thecore/ui.js
|
8
9
|
)
|