marty 10.0.2 → 10.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/components/marty/simple_app/client/simple_app.js +12 -1
- data/lib/marty/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: 360af94e92c74e7d1102352352fb0b412fb286028fd250b388532c48abb197f4
|
4
|
+
data.tar.gz: 848685b6765630af1acdae54e6667ea995eee94d86ec36e0103313054df80140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d85a3910d4654ea5ee18a330b22c1bc23cef9dab6c6e745ff4fbb5b70a0a06a29b46b81b426adb3bbe51c3b2ccedc81264352beacc5b9161a2f32f23c92eed7a
|
7
|
+
data.tar.gz: bd061cae990b2b935beac03df951065a405834c5d3757e641f557a4d1170bd9a9b3217cdd89267b262bb906a184202c7318a39eb3d8deb198ea22274ec3b43e2
|
@@ -2,6 +2,7 @@
|
|
2
2
|
initComponent() {
|
3
3
|
this.callParent();
|
4
4
|
|
5
|
+
this.martyDocumentTitle = document.title;
|
5
6
|
this.mainPanel = this.down('panel[itemId="main_panel"]');
|
6
7
|
this.menuBar = this.down('container[itemId="menu_bar"]');
|
7
8
|
const statusBar = (this.statusBar = this.down(
|
@@ -34,7 +35,17 @@
|
|
34
35
|
loadRoute(token) {
|
35
36
|
if (token) {
|
36
37
|
this.netzkeLoadComponent(token, {
|
37
|
-
container: this.mainPanel
|
38
|
+
container: this.mainPanel,
|
39
|
+
callback: (component) => {
|
40
|
+
if (component.martyDocumentTitle) {
|
41
|
+
document.title = [
|
42
|
+
this.martyDocumentTitle,
|
43
|
+
component.martyDocumentTitle
|
44
|
+
].join(" - ");
|
45
|
+
} else {
|
46
|
+
document.title = this.martyDocumentTitle;
|
47
|
+
}
|
48
|
+
}
|
38
49
|
});
|
39
50
|
} else {
|
40
51
|
this.mainPanel.removeAll();
|
data/lib/marty/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.0.
|
4
|
+
version: 10.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arman Bostani
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2020-03-
|
17
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: actioncable
|