{"action":"created","issue":{"url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/82","repository_url":"https://api.github.com/repos/miztroh/wysiwyg-e","labels_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/82/comments","events_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/82/events","html_url":"https://github.com/miztroh/wysiwyg-e/issues/82","id":164664450,"number":82,"title":"Issue with the Image tool","user":{"login":"jperera84","id":13193138,"avatar_url":"https://avatars.githubusercontent.com/u/13193138?v=3","gravatar_id":"","url":"https://api.github.com/users/jperera84","html_url":"https://github.com/jperera84","followers_url":"https://api.github.com/users/jperera84/followers","following_url":"https://api.github.com/users/jperera84/following{/other_user}","gists_url":"https://api.github.com/users/jperera84/gists{/gist_id}","starred_url":"https://api.github.com/users/jperera84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jperera84/subscriptions","organizations_url":"https://api.github.com/users/jperera84/orgs","repos_url":"https://api.github.com/users/jperera84/repos","events_url":"https://api.github.com/users/jperera84/events{/privacy}","received_events_url":"https://api.github.com/users/jperera84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-09T12:09:54Z","updated_at":"2016-07-26T15:14:23Z","closed_at":null,"body":"II have this problem when I tried to enter an Image URL in the Image tool there is some problems:\r\n\r\n1. I can't use the KeyBoard to move to the start or end of the url.\r\n2. I can't click on the Url textbox because url disappear.\r\n3. When I enter the url if I click on the Ok button to show the image in the content nothing happen, the url is remove and nothing happen, I mean is like no event were trigger when I click the button.\r\n\r\nEverything else seems to be working fine but I just wonder if it is something that I missed or some. Thank you I really appreciate your help"},"comment":{"url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/comments/235300060","html_url":"https://github.com/miztroh/wysiwyg-e/issues/82#issuecomment-235300060","issue_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/82","id":235300060,"user":{"login":"jperera84","id":13193138,"avatar_url":"https://avatars.githubusercontent.com/u/13193138?v=3","gravatar_id":"","url":"https://api.github.com/users/jperera84","html_url":"https://github.com/jperera84","followers_url":"https://api.github.com/users/jperera84/followers","following_url":"https://api.github.com/users/jperera84/following{/other_user}","gists_url":"https://api.github.com/users/jperera84/gists{/gist_id}","starred_url":"https://api.github.com/users/jperera84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jperera84/subscriptions","organizations_url":"https://api.github.com/users/jperera84/orgs","repos_url":"https://api.github.com/users/jperera84/repos","events_url":"https://api.github.com/users/jperera84/events{/privacy}","received_events_url":"https://api.github.com/users/jperera84/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T15:14:23Z","updated_at":"2016-07-26T15:14:23Z","body":"@miztroh, I tested the demo with the new version for the image tool, and it really works fine here is the gif:\r\n![issue-demo](https://cloud.githubusercontent.com/assets/13193138/17143410/2a217ec0-5321-11e6-883b-c1066ec1549c.gif)\r\nAfter that I updated my project and it seems to be updated but it doesn't work fine:\r\n![issue-pro](https://cloud.githubusercontent.com/assets/13193138/17143539/941be1bc-5321-11e6-9506-db558a2d84ea.gif)\r\nI know is something on my project, this is all the references that I have in my project:\r\n`<link rel=\"import\" href=\"../bower_components/polymer/polymer.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-styles/typography.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-flex-layout/iron-flex-layout-classes.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-localstorage/iron-localstorage.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-overlay-behavior/iron-overlay-behavior.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-material/paper-material.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-icons/iron-icons.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-icons/editor-icons.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-icons/maps-icons.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-icons/social-icons.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-icon/iron-icon.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-toolbar/paper-toolbar.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-input/paper-input.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-spinner/paper-spinner.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-toast/paper-toast.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-ajax/iron-ajax.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-ripple/paper-ripple.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-input/paper-textarea.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-button/paper-button.html\">\r\n<link rel=\"import\" href=\"../bower_components/iron-image/iron-image.html\">\r\n<link rel=\"import\" href=\"../bower_components/vaadin-combo-box/vaadin-combo-box.html\">\r\n<link rel=\"import\" href=\"../bower_components/paper-toggle-button/paper-toggle-button.html\">\r\n<link rel=\"import\" href=\"../bower_components/moment-element/moment-import.html\">\r\n<link rel=\"import\" href=\"../bower_components/font-roboto/roboto.html\">\r\n<link rel=\"import\" href=\"../bower_components/marked-element/marked-import.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/wysiwyg-e.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/bold.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/italic.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/underline.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/strike.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/clear.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/link.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/image.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/ordered.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/unordered.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/indent.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/outdent.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/heading.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/justify.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/blockquote.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/undo.html\">\r\n<link rel=\"import\" href=\"../bower_components/wysiwyg-e/tools/redo.html\">`\r\n\r\nAnd this is my complete code for the element:\r\n`<dom-module id=\"my-blogentry\">\r\n  <template>\r\n    <style include=\"iron-flex iron-flex-alignment iron-flex-factors iron-positioning\"></style>\r\n    <style>\r\n      :host {\r\n        display: block;\r\n      }\r\n      .div-general{\r\n        margin: 24px;\r\n        border-radius: 5px;\r\n        color: #fff;\r\n        height: auto;\r\n        min-height: 400px;\r\n        @apply(--layout-horizontal);\r\n\t\t\t\t@apply(--layout-wrap);\r\n        @apply(--layout-around-justified);\r\n      }\r\n      .div-right{\r\n        @apply(--layout-vertical);\r\n        height: auto;\r\n        min-height: 400px;\r\n        min-width: 300px;\r\n        width: 500px;\r\n        margin: 8px;\r\n      }\r\n      .div-left{\r\n        @apply(--layout-vertical);\r\n        height: auto;\r\n        min-height: 400px;\r\n        width: 700px;\r\n        min-width: 300px;\r\n        margin: 8px;\r\n      }\r\n      .div-header{\r\n\t    \theight: 60px;\r\n\t    \twidth: 100%;\r\n\t\t  }\r\n      .div-list-content{\r\n        padding: 16px;\r\n        height: 400px;\r\n        overflow: scroll;\r\n        background-color: #212121;\r\n      }\r\n      .card {\r\n        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\r\n        padding: 0px;\r\n        margin-top: 16px;\r\n        background-color: #fff;\r\n        color: #757575;\r\n        min-height: 120px;\r\n        height: auto;\r\n        @apply(--layout-horizontal);\r\n        position: relative;\r\n        cursor: pointer;\r\n      }\r\n      .div-left-side{\r\n        min-width: 80px;\r\n        width: auto;\r\n        background: var(--dark-primary-color);\r\n        display: table-cell;\r\n        text-align: center;\r\n        vertical-align: middle;\r\n        padding-top: 36px;\r\n        padding-bottom: 36px;\r\n      }\r\n      .div-text-side{\r\n        max-width: 300px;\r\n        width: 100%;\r\n        padding: 36px;\r\n        @apply(--layout-vertical);\r\n      }\r\n      .div-right-side{\r\n        min-width: 80px;\r\n        width: auto;\r\n        float: left;\r\n        padding-top: 36px;\r\n        padding-bottom: 36px;\r\n      }\r\n      .card-content {\r\n        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\r\n        padding: 16px;\r\n        background-color: #212121;\r\n        color: #757575;\r\n        padding: 16px;\r\n        min-height: 400px;\r\n        height: auto;\r\n      }\r\n      vaadin-combo-box {\r\n        --primary-text-color: gray;\r\n        --secondary-text-color: gray;\r\n        color: gray;\r\n      }\r\n      .div-component{\r\n        width: 100%;\r\n        height: 400px;\r\n      }\r\n      paper-material {\r\n        background: white;\r\n        width: 100%;\r\n        height: 400px;\r\n      }\r\n    </style>\r\n    <iron-ajax\r\n\t\t\tverbose\r\n\t\t\tauto\r\n\t    url=\"https://xxx.net/api/BlogEntries\"\r\n\t    method='GET'\r\n\t    handle-as = \"json\"\r\n\t    content-type = 'application/json'\r\n\t    on-response=\"handleBlogEntryGet\"\r\n\t    debounce-duration=\"300\"\r\n      on-error = 'handleBlogEntryGetError'\r\n\t    id='daoBlogEntry'>\r\n\t\t</iron-ajax>\r\n    <iron-ajax\r\n\t\t\tverbose\r\n\t\t\tauto\r\n\t    url=\"https://xxxx.net/api/BlogCategories\"\r\n\t    method='GET'\r\n\t    handle-as = \"json\"\r\n\t    content-type = 'application/json'\r\n\t    on-response=\"handleBlogCategoryGet\"\r\n\t    debounce-duration=\"300\"\r\n      on-error = 'handleBlogCategoryGetError'\r\n\t    id='daoBlogCategory'>\r\n\t\t</iron-ajax>\r\n    <iron-ajax\r\n\t\t\tverbose\r\n      body=\"{{entry}}\"\r\n\t    handle-as=\"json\"\r\n\t    content-type=\"application/x-www-form-urlencoded\"\r\n\t    on-response=\"handleSubmitEntry\"\r\n\t    debounce-duration=\"300\"\r\n      on-error = 'handleSubmitEntryError'\r\n\t    id='daoSubmitEntry'>\r\n\t\t</iron-ajax>\r\n    <iron-localstorage name=\"signasafeAdmStorage\" id=\"admStorageId\" value=\"{{sessionObject}}\"></iron-localstorage>\r\n    <div class=\"div-general\">\r\n      <div class=\"div-right\">\r\n        <div class=\"div-header\">\r\n\t\t\t\t\t\t<paper-toolbar>\r\n\t\t\t\t\t\t\t<iron-icon icon=\"icons:list\"></iron-icon>\r\n\t\t\t\t\t\t  \t<div class=\"title\">Entries</div>\r\n\t\t\t\t\t\t  \t<span class=\"space\"></span>\r\n\t\t\t\t\t        <!-- Toolbar icons -->\r\n\t\t\t\t\t        <paper-icon-button icon=\"refresh\" id=\"btRefresh\" on-tap=\"handleRefresh\"></paper-icon-button>\r\n\t\t\t\t\t        <paper-spinner id=\"spinner\"></paper-spinner>\r\n\t\t\t\t\t\t</paper-toolbar>\r\n\t\t\t\t\t</div>\r\n          <div class='div-list-content'>\r\n\t\t\t\t\t\t\t<template is=\"dom-repeat\" items=\"{{entries}}\">\r\n                <div class=\"card\" on-tap=\"handleEntryTap\">\r\n                  <paper-ripple></paper-ripple>\r\n                  <div class=\"div-left-side\">\r\n                    <iron-icon icon=\"icons:description\"></iron-icon>\r\n                  </div>\r\n                  <div class=\"div-text-side\">\r\n                    <span>{{item.BlogEntryTitle}}</span>\r\n                  </div>\r\n                  <div class=\"div-right-side\">\r\n                    <paper-icon-button icon=\"icons:clear\" id=\"btDelete\" on-tap=\"handleDeleteEntry\"></paper-icon-button>\r\n                  </div>\r\n                </div>\r\n\t\t\t\t\t  \t</template>\r\n\t\t\t\t\t</div>\r\n      </div>\r\n      <div class=\"div-left\">\r\n        <div class=\"div-header\">\r\n          <paper-toolbar>\r\n  \t\t\t\t\t<iron-icon icon=\"editor:border-color\"></iron-icon>\r\n  \t\t\t\t  \t<div class=\"title\">Form Entry</div>\r\n  \t\t\t\t  \t<span class=\"space\"></span>\r\n  \t\t\t        <!-- Toolbar icons -->\r\n                <paper-icon-button icon=\"add\" id=\"btFormAdd\" on-tap=\"handleAddTap\"></paper-icon-button>\r\n\t\t\t\t\t      <paper-icon-button icon=\"save\" id=\"btFormSave\" on-tap=\"handleSaveTap\"></paper-icon-button>\r\n\t\t\t\t\t      <paper-spinner id=\"spinnerForm\" hidden></paper-spinner>\r\n  \t\t\t\t</paper-toolbar>\r\n        </div>\r\n        <div class=\"card-content\" id=\"divGeneral\">\r\n          <paper-input label=\"Id\" value=\"{{entry.Id}}\" id=\"tbEntryId\" readonly></paper-input>\r\n          <paper-input label=\"Date (yyyy-MM-dd)\" id=\"entryDatePicker\" required auto-validate error-message=\"Please fill out this field.\" type=\"date\"></paper-input>\r\n\t\t\t\t\t<paper-input label=\"Title\" value=\"{{entry.BlogEntryTitle}}\" id=\"tbEntryTitle\" required auto-validate error-message=\"Please fill out this field.\"></paper-input>\r\n          <span>Published? <paper-toggle-button checked={{entry.BlogEntryPublished}}></paper-toggle-button></span>\r\n          <paper-input label=\"Published By\" value=\"{{entry.BlogEntryPublishedBy}}\" id=\"tbPublishedBy\" readonly></paper-input>\r\n\t\t\t\t\t<paper-textarea label=\"Write summary for the entry\" char-counter maxlength=\"300\" maxRows='2' required auto-validate charCounter error-message=\"Please fill out this field.\" value=\"{{entry.BlogEntrySummary}}\" id=\"tbSummary\"></paper-textarea>\r\n\t\t\t\t\t<vaadin-combo-box class=\"elements-box\" label=\"Category\" items=\"[[categories]]\" item-label-path=\"BlogCategoryName\" item-value-path=\"Id\" id=\"cbCategory\" required></vaadin-combo-box>\r\n\t\t\t\t\t<p>Entry content:</p>\r\n          <div class=\"div-component\">\r\n            <paper-material elevation=\"5\">\r\n              <wysiwyg-e class=\"flex fit\" value=\"{{entry.BlogEntryContent}}\" id=\"wysiwygE\">\r\n                <wysiwyg-tool-bold class=\"wysiwyg-tool\"></wysiwyg-tool-bold>\r\n                <wysiwyg-tool-italic class=\"wysiwyg-tool\"></wysiwyg-tool-italic>\r\n                <wysiwyg-tool-underline class=\"wysiwyg-tool\"></wysiwyg-tool-underline>\r\n                <wysiwyg-tool-strike class=\"wysiwyg-tool\"></wysiwyg-tool-strike>\r\n                <wysiwyg-tool-clear class=\"wysiwyg-tool\"></wysiwyg-tool-clear>\r\n                <wysiwyg-tool-link class=\"wysiwyg-tool\"></wysiwyg-tool-link>\r\n                <wysiwyg-tool-image class=\"wysiwyg-tool\"></wysiwyg-tool-image>\r\n                <wysiwyg-tool-ordered class=\"wysiwyg-tool\"></wysiwyg-tool-ordered>\r\n                <wysiwyg-tool-unordered class=\"wysiwyg-tool\"></wysiwyg-tool-unordered>\r\n                <wysiwyg-tool-indent class=\"wysiwyg-tool\"></wysiwyg-tool-indent>\r\n                <wysiwyg-tool-outdent class=\"wysiwyg-tool\"></wysiwyg-tool-outdent>\r\n                <wysiwyg-tool-justify class=\"wysiwyg-tool\" right center full></wysiwyg-tool-justify>\r\n                <wysiwyg-tool-heading class=\"wysiwyg-tool\" h1 h2 h3 h4 h5 h6></wysiwyg-tool-heading>\r\n                <wysiwyg-tool-blockquote class=\"wysiwyg-tool\"></wysiwyg-tool-blockquote>\r\n                <wysiwyg-tool-undo class=\"wysiwyg-tool\"></wysiwyg-tool-undo>\r\n                <wysiwyg-tool-redo class=\"wysiwyg-tool\"></wysiwyg-tool-redo>\r\n    \t\t\t\t\t</wysiwyg-e>\r\n            </paper-material>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </div>\r\n    <paper-toast id=\"toastMsg\" class=\"fit-bottom\"></paper-toast>\r\n  </template>\r\n  <script>\r\n    Polymer({\r\n      is: 'my-blogentry',\r\n      properties:{\r\n        sessionObject:{\r\n           type: Object,\r\n           notify: true\r\n        },\r\n        entries:{\r\n          type: Object,\r\n\t\t      notify: true,\r\n\t\t      value: function() { return [ ]; }\r\n        },\r\n        entry:{\r\n          type: Object,\r\n\t\t      notify: true,\r\n\t\t      value: function(){ return { Id: 0, BlogEntryDate: \"\", BlogEntryTitle: \"\", BlogEntrySummary: \"\", BlogEntryContent: \"\", BlogEntryPublishedBy: \"\", BlogEntryPublished: false, BlogCategoryId: 0}; }\r\n        },\r\n        categories:{\r\n          type:Object,\r\n        }\r\n      },\r\n      ready:function(){\r\n        this.$.btRefresh.hidden = true;\r\n        this.$.spinner.active = true;\r\n        this.$.spinner.hidden = false;\r\n        var objs = this.$$('#divGeneral');\r\n        this.$.toastMsg.fitInto = objs;\r\n        this.$$('#admStorageId').reload();\r\n        this.$.tbPublishedBy.value = this.sessionObject.userName;\r\n        this.$.entryDatePicker.value = moment(new Date()).format(\"YYYY-MM-DD\");\r\n      },\r\n      handleBlogEntryGet: function(request){\r\n        var result = request.detail.response;\r\n\t\t\t\tthis.entries = result;\r\n        this.$.btRefresh.hidden = false;\r\n        this.$.spinner.active = false;\r\n        this.$.spinner.hidden = true;\r\n      },\r\n      handleBlogEntryGetError: function(error){\r\n        this.$.spinner.hidden = true;\r\n        this.$.spinner.active = false;\r\n        this.$.btRefresh.hidden = false;\r\n        this.$.toastMsg.text = error;\r\n        this.$.toastMsg.show();\r\n      },\r\n      handleRefresh: function(event, detail, sender){\r\n        this.$.btRefresh.hidden = true;\r\n        this.$.spinner.active = true;\r\n        this.$.spinner.hidden = false;\r\n        this.$.daoBlogEntry.generateRequest();\r\n      },\r\n      handleBlogCategoryGet: function(request){\r\n        var result = request.detail.response;\r\n        this.categories = result;\r\n      },\r\n      handleBlogCategoryGetError: function(error){\r\n        this.$.toastMsg.text = error;\r\n        this.$.toastMsg.show();\r\n      },\r\n      handleAddTap: function(event, detail, sender){\r\n        this.entry = { Id: 0, BlogEntryDate: \"\", BlogEntryTitle: \"\", BlogEntrySummary: \"\", BlogEntryContent: \"\", BlogEntryPublishedBy: this.sessionObject.userName, BlogEntryPublished: false, BlogCategoryId: 0};\r\n        this.$.entryDatePicker.value = moment(new Date()).format(\"YYYY-MM-DD\");\r\n      },\r\n      handleSaveTap: function(event, detail, sender){\r\n        this.$.spinnerForm.active = true;\r\n        this.$.spinnerForm.hidden = false;\r\n        var entryDatePicker = this.$.entryDatePicker;\r\n        var tbEntryTitle = this.$.tbEntryTitle;\r\n        var cbCategory = this.$.cbCategory;\r\n        var tbSummary = this.$.tbSummary;\r\n        this.entry.BlogCategoryId = cbCategory.value;\r\n        this.entry.BlogEntryDate = entryDatePicker.value;\r\n        if(entryDatePicker.validate() && tbEntryTitle.validate() && tbSummary.validate() && this.entry.BlogCategoryId != 0){\r\n          if(this.entry.Id == 0){\r\n            this.$.daoSubmitEntry.url = \"https://xxxx.net/api/BlogEntries\";\r\n            this.$.daoSubmitEntry.method = 'POST';\r\n            this.$.daoSubmitEntry.headers = { \"Authorization\": \"Bearer \" + this.sessionObject.access_token };\r\n            this.$.daoSubmitEntry.generateRequest();\r\n          }else{\r\n            this.$.daoSubmitEntry.url = \"https://xxx.net/api/BlogEntries/\" + this.entry.Id;\r\n            this.$.daoSubmitEntry.method = 'PUT';\r\n            this.$.daoSubmitEntry.headers = { \"Authorization\": \"Bearer \" + this.sessionObject.access_token };\r\n            this.$.daoSubmitEntry.generateRequest();\r\n          }\r\n        }\r\n      },\r\n      handleSubmitEntry:function(request){\r\n        this.$.spinnerForm.active = false;\r\n        this.$.spinnerForm.hidden = true;\r\n        this.$.daoBlogEntry.generateRequest();\r\n        var result = request.detail.response;\r\n        this.entry = { Id: 0, BlogEntryDate: \"\", BlogEntryTitle: \"\", BlogEntrySummary: \"\", BlogEntryContent: \"\", BlogEntryPublishedBy: this.sessionObject.userName, BlogEntryPublished: false, BlogCategoryId: 0};\r\n        this.$.toastMsg.text = \"The entry was saved successfully\";\r\n        this.$.toastMsg.show();\r\n      },\r\n      handleSubmitEntryError: function(error){\r\n        this.$.toastMsg.text = error;\r\n        this.$.toastMsg.show();\r\n      },\r\n      handleEntryTap: function(event, detail, sender){\r\n        this.entry = event.model.item;\r\n        var date = new Date(this.entry.BlogEntryDate);\r\n        this.$.entryDatePicker.value = moment(date).format(\"YYYY-MM-DD\");\r\n        this.$.cbCategory.value = this.entry.BlogCategoryId;\r\n      },\r\n      handleDeleteEntry: function(event, detail, sender){\r\n        this.$.daoSubmitEntry.url = \"https://xxxx.net/api/BlogEntries/\" + event.model.item.Id;\r\n        this.$.daoSubmitEntry.method = 'DELETE';\r\n        this.$.daoSubmitEntry.headers = { \"Authorization\": \"Bearer \" + this.sessionObject.access_token };\r\n        this.$.daoSubmitEntry.generateRequest();\r\n      }\r\n    });\r\n  </script>\r\n</dom-module>`"}}
{"actor":{"display_login":"jperera84"}}