Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • M N 125 posts 212 karma points
    Jun 27, 2018 @ 14:47
    M N
    0

    Doc Type Grid Editor modal panel only shows on IE, not FF or Chrome. Umbraco 7.10.4

    Hi all,

    We have amassed quite a few DTGE components at this point, but after upgrading to 7.10.4 and DTGE .5, the editor modal (right panel) no longer seems to work on both Firefox (60.0.2) and Chrome (67.0.3396.87).

    It is, however, working in IE 11..

    Our config has not changed, here she is -

    {
        "name": "Widget",
        "alias": "docType",
        "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html",
        "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml",
        "icon": "icon-item-arrangement",
        "config": {
          "allowedDocTypes": [
            "Widget$"
          ],
          "nameTemplate": "{{title}}",
          "enablePreview": true,
          "viewPath": "/Views/Partials/Widgets/",
          "previewViewPath": "/Views/Partials/Widgets/Previews/",
          "previewCssFilePath": "",
          "previewJsFilePath": ""
        }
    

    Thoughts?

  • Lee Kelleher 3987 posts 15554 karma points MVP 11x admin c-trib
    Jun 27, 2018 @ 15:45
    Lee Kelleher
    0

    Hi M N,

    Which version of DTGE was you on previously? I'm trying to remember what might have changed between versions.

    Your config looks fine to me.

    Any javascript errors in your browser's dev tools?

    Thanks,
    - Lee

  • Lee Kelleher 3987 posts 15554 karma points MVP 11x admin c-trib
    Jun 27, 2018 @ 15:47
  • M N 125 posts 212 karma points
    Jun 27, 2018 @ 16:53
    M N
    0

    Howdy Lee!

    0.4.0 .. Just took a peak at a backup.

    Great post, just read through. The problem is that it DOES work.
    There was a couple other posts regarding the Chrome Trim issue, but that seems resolved in 7.10.4. And I have been bumping my ClientDepend version and clearing cache and all that. enter image description here Front-end enter image description here

    Have a look at the screenshots. I added one of our more primitive doc type widgets, Bootstrap 4 button. I configured it in Internet Explorer. And the screen shot you see is in FireFox - Preview file is rendering as usual, and front end render looking slick as well! This is in a Nested Content to boot. The Edit state modal doesn't work either.

    It's just the modal can't be opened in Chrome or Firefox.

    Console GIF enter image description here

  • Lee Kelleher 3987 posts 15554 karma points MVP 11x admin c-trib
    Jun 28, 2018 @ 08:16
    Lee Kelleher
    100

    Thanks for the extra info.

    There is a JS error from the "copypastegrideditors.js" script - that's not part of DTGE, but I suspect it could be causing an issue here?

    I'm not too familiar with the Copy Paste Grid Editors package - so not sure what needs to be done to fix it?

  • M N 125 posts 212 karma points
    Jun 28, 2018 @ 16:04
    M N
    0

    No it's actually allows you to copy/paste your Doc Type Grid Widgets (and all other grid content). But you are right there is something going on with it - Just hadn't thought to remove it because it actually still works and our editors are using it pretty heavily with basic RTE's and such.

    Clearly that JS error is blocking DTGE in some capacity, as I just removed it and DTGE works again, duh :)

    Thanks Lee, up top.

Please Sign in or register to post replies

Write your reply to:

Draft