mirror of
https://github.com/documize/community.git
synced 2025-08-07 22:45:24 +02:00
started new release 12.4 + fixed Intercom message
This commit is contained in:
parent
6717e4a4ef
commit
7fd72fc422
2 changed files with 11 additions and 11 deletions
|
@ -35,9 +35,9 @@ export default Ember.Component.extend(NotifierMixin, {
|
||||||
|
|
||||||
this.set("sections", sections);
|
this.set("sections", sections);
|
||||||
|
|
||||||
// if (this.session.get('popupBlocked')) {
|
// if (this.session.get('popupBlocked')) {
|
||||||
// this.showNotification("Hmm, looks like your browser is blocking popups...");
|
// this.showNotification("Hmm, looks like your browser is blocking popups...");
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
|
|
||||||
onCancel() {
|
onCancel() {
|
||||||
|
@ -46,22 +46,22 @@ export default Ember.Component.extend(NotifierMixin, {
|
||||||
|
|
||||||
onAction() {
|
onAction() {
|
||||||
let title = this.get("title");
|
let title = this.get("title");
|
||||||
let section = this.get("sections").findBy("selected", true);
|
let section = this.get("sections").findBy("selected", true);
|
||||||
let contentType = section.contentType;
|
let contentType = section.contentType;
|
||||||
|
|
||||||
if (section.preview) {
|
if (section.preview) {
|
||||||
this.showNotification("Coming soon!");
|
this.showNotification("Coming soon!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is.empty(title)) {
|
if (is.empty(title)) {
|
||||||
$("#page-title").addClass("error").focus();
|
$("#page-title").addClass("error").focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.audit.record('added section' + section.contentType);
|
this.audit.record('added section ' + section.contentType);
|
||||||
|
|
||||||
this.attrs.onAction(title, contentType);
|
this.attrs.onAction(title, contentType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
|
@ -30,7 +30,7 @@ const (
|
||||||
// AppVersion does what it says
|
// AppVersion does what it says
|
||||||
// Versioning scheme major.minor where "minor" is optional
|
// Versioning scheme major.minor where "minor" is optional
|
||||||
// e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128
|
// e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128
|
||||||
AppVersion = "12.3"
|
AppVersion = "12.4"
|
||||||
)
|
)
|
||||||
|
|
||||||
var port, certFile, keyFile, forcePort2SSL string
|
var port, certFile, keyFile, forcePort2SSL string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue