diff --git a/locales/en.yml b/locales/en.yml
index 2845eec6a..574af26a6 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -385,6 +385,11 @@ desktop:
next: "Next month"
go: "Click to travel"
+ mk-post-form-home-widget:
+ title: "Post"
+ post: "Post"
+ placeholder: "What's happening?"
+
mk-repost-form:
quote: "Quote..."
cancel: "Cancel"
diff --git a/locales/ja.yml b/locales/ja.yml
index 2d9aceb2d..9e6251d0d 100644
--- a/locales/ja.yml
+++ b/locales/ja.yml
@@ -385,6 +385,11 @@ desktop:
next: "来月"
go: "クリックして時間遡行"
+ mk-post-form-home-widget:
+ title: "投稿"
+ post: "投稿"
+ placeholder: "いまどうしてる?"
+
mk-repost-form:
quote: "引用する..."
cancel: "キャンセル"
diff --git a/src/web/app/desktop/mixins/widget.js b/src/web/app/desktop/mixins/widget.js
index 2bf858ebe..cb04295fc 100644
--- a/src/web/app/desktop/mixins/widget.js
+++ b/src/web/app/desktop/mixins/widget.js
@@ -9,10 +9,13 @@ riot.mixin('widget', {
this.mixin('api');
this.id = this.opts.id;
+ this.place = this.opts.place;
- Object.keys(this.data).forEach(prop => {
- this.data[prop] = this.opts.data.hasOwnProperty(prop) ? this.opts.data[prop] : this.data[prop];
- });
+ if (this.data) {
+ Object.keys(this.data).forEach(prop => {
+ this.data[prop] = this.opts.data.hasOwnProperty(prop) ? this.opts.data[prop] : this.data[prop];
+ });
+ }
},
save: function() {
diff --git a/src/web/app/desktop/tags/home-widgets/broadcast.tag b/src/web/app/desktop/tags/home-widgets/broadcast.tag
index 1102e22c7..c33c5f367 100644
--- a/src/web/app/desktop/tags/home-widgets/broadcast.tag
+++ b/src/web/app/desktop/tags/home-widgets/broadcast.tag
@@ -75,9 +75,8 @@
a
color #555
-
-
-
-
+
diff --git a/src/web/app/desktop/tags/home-widgets/donation.tag b/src/web/app/desktop/tags/home-widgets/donation.tag
index d533e8283..9d56d12f0 100644
--- a/src/web/app/desktop/tags/home-widgets/donation.tag
+++ b/src/web/app/desktop/tags/home-widgets/donation.tag
@@ -28,5 +28,8 @@
color #999
-
+
diff --git a/src/web/app/desktop/tags/home-widgets/nav.tag b/src/web/app/desktop/tags/home-widgets/nav.tag
index 54bfb87a1..1061b36f4 100644
--- a/src/web/app/desktop/tags/home-widgets/nav.tag
+++ b/src/web/app/desktop/tags/home-widgets/nav.tag
@@ -14,4 +14,7 @@
color #ccc
+
diff --git a/src/web/app/desktop/tags/home-widgets/post-form.tag b/src/web/app/desktop/tags/home-widgets/post-form.tag
new file mode 100644
index 000000000..2aa3cda50
--- /dev/null
+++ b/src/web/app/desktop/tags/home-widgets/post-form.tag
@@ -0,0 +1,101 @@
+ %i18n:desktop.tags.mk-post-form-home-widget.title%