diff --git a/bower.json b/bower.json index 8601a48..fa6ea66 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-information-dialog", "description": "Strolch WebComponent Information Dialog", - "version": "0.1.5", + "version": "0.1.6", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-information-dialog.html b/strolch-wc-information-dialog.html index 7b7ecf8..e663ec8 100644 --- a/strolch-wc-information-dialog.html +++ b/strolch-wc-information-dialog.html @@ -66,28 +66,36 @@ value: './locales.json' }, title: { - type: String + type: String, + value: null }, line1: { - type: String + type: String, + value: null }, line2: { - type: String + type: String, + value: null }, line3: { - type: String + type: String, + value: null }, cancelLbl: { - type: String + type: String, + value: null }, okLbl: { - type: String + type: String, + value: null }, closeLbl: { - type: String + type: String, + value: null }, confirmation: { - type: Boolean + type: Boolean, + value: false }, cancelable: { type: Boolean, @@ -104,7 +112,7 @@ }, isNotEmptyString: function (val) { - return Strolch.isNotEmptyString(); + return val != null && typeof val === "string" && val.length > 0; }, observers: [],