• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Chrome on a MacBook

    User help
    5
    15
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      psysak
      last edited by

      Are you guys aware of any issues using Dashboard Designer in Chrome specifically on a MacBook? I can't "Edit Markup" as all I get is a blank page
      0_1544755315914_Screen Shot 2018-12-13 at 9.40.55 PM.png

      Even thought the markup is blank there are many things supposed to be there. I disabled my ad blocker and the such. I am at Starbucks however... I kind of hope this turns out to be a bug related to Starbucks just cause

      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by

        Hi psysak

        Could you open your chrome dev tools console and have a look if there are any errors.

        1 Reply Last reply Reply Quote 0
        • P
          psysak
          last edited by

          Hey, I seem to have jumped to a conclusion, it's the same on my Windows machine now too, I think the last thing I did was let Mango upgrade a couple of things, not sure which ones as I just clicked the little banner on top of the screen. Error in console is

          mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 ReferenceError: i is not defined
              at Module.promise (ace.js?v=3ae3013236be02c42cb3:1)
              at n.e.then.then.e (mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72)
          (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          c @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72
          (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72
          c @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          $digest @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          (anonymous) @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          completeTask @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          setTimeout (async)
          i.defer @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          o @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          nextTick @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          z @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          c @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          (anonymous) @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          $broadcast @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          $destroy @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          $digest @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          $apply @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78
          g @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77
          dispatch @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:39
          g.handle @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:39
          
          1 Reply Last reply Reply Quote 0
          • P
            psysak
            last edited by

            This seems to be happening quite a bit to me lately, this undefined i business. Not sure how to get around it now tbh.

            1 Reply Last reply Reply Quote 0
            • MattFoxM
              MattFox
              last edited by MattFox

              In the unlikely event, there could be caching. I suggest you bring up the developer's console. cmd + option - i. And click and hold on the refresh button an option should come up to refresh and empty cache. Give that a whirl. Alternatively cmd option r should do it for a hard refresh.

              There is also an option in the mango env.properties file to append a timestamp on the end as opposed to version numbers for mango angular files. If you enable that it could assist with keeping files fresh and chrome caching unnecessarily.

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • Jared WiltshireJ
                Jared Wiltshire
                last edited by

                As @MattFox said, clear your cache, and also possibly try upgrading the UI module / re-installing it from the zip (drop it onto the offline upgrade page).

                Developer at Radix IoT

                1 Reply Last reply Reply Quote 0
                • P
                  psysak
                  last edited by

                  Cache didn't do it, I even tried a different browser :(

                  Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?

                  Jared WiltshireJ 1 Reply Last reply Reply Quote 0
                  • MattFoxM
                    MattFox
                    last edited by MattFox

                    Yes, but I'd suggest @Jared-Wiltshire's advice and reinstall the mangoUI module first.
                    If you are unsuccessful then by all means copy the files into /[MANGODIR]/overrides/web/modules/mangoUI/web/
                    and edit. However the files are minified so I'd advise against it. Arrange for the team to remote in and take a look for you. I'm sure that will solve your issue if the reinstallation of the module does not fix your issue.

                    EDIT: one more thing... Do you have any custom code in the overrides??? That includes any modified ui.*.js files.
                    If you have I'll wager it's clashing with the module code in the web/modules/mangoUI directory.

                    Do not follow where the path may lead; go instead where there is no path.
                    And leave a trail - Muriel Strode

                    P 1 Reply Last reply Reply Quote 1
                    • P
                      psysak @MattFox
                      last edited by

                      @mattfox said in Chrome on a MacBook:

                      EDIT: one more thing... Do you have any custom code in the overrides??? That includes any modified ui.*.js files.
                      If you have I'll wager it's clashing with the module code in the web/modules/mangoUI directory.

                      I don't think so, I never added anything there. I'll try the module re-install.

                      1 Reply Last reply Reply Quote 1
                      • Jared WiltshireJ
                        Jared Wiltshire @psysak
                        last edited by

                        @psysak said in Chrome on a MacBook:

                        Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?

                        They are stored in the DB, I wouldn't attempt to edit them via the SQL console or JSON store page as the markup has some tricky escaping.

                        Developer at Radix IoT

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          psysak @Jared Wiltshire
                          last edited by

                          @jared-wiltshire said in Chrome on a MacBook:

                          @psysak said in Chrome on a MacBook:

                          Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?

                          They are stored in the DB, I wouldn't attempt to edit them via the SQL console or JSON store page as the markup has some tricky escaping.

                          Ohh so they are buried in there ok.
                          So can I accomplish the same thing just loading custom html pages into the system somewhere?

                          I tried reloading the module, it didn't help. I not deleted it and am going to re-install it completely.

                          Jared WiltshireJ 1 Reply Last reply Reply Quote 0
                          • Jared WiltshireJ
                            Jared Wiltshire @psysak
                            last edited by

                            @psysak said in Chrome on a MacBook:

                            So can I accomplish the same thing just loading custom html pages into the system somewhere?

                            Not sure exactly what you mean but you can put a .html file in the file store and add a menu item that uses this file as its template.

                            @psysak said in Chrome on a MacBook:

                            I tried reloading the module, it didn't help. I not deleted it and am going to re-install it completely.

                            Where did you download it from? How did you re-install it? Are you positive you cleared your browser cache after reinstalling it? I always suggest opening Chrome debugger and clicking "Disable" cache on the "Network" tab then reloading.

                            Developer at Radix IoT

                            1 Reply Last reply Reply Quote 0
                            • I
                              iperry
                              last edited by

                              Out of curiosity, what version of Java are you running? This sorta seems familiar when I (in error) tried to use Java 9.

                              1 Reply Last reply Reply Quote 0
                              • P
                                psysak
                                last edited by

                                I just had this issue pop up in page editor as well. However, I've also realized that everything works perfectly fine in FireFox so if I have any issues I just open that up.

                                Jared WiltshireJ 1 Reply Last reply Reply Quote 0
                                • Jared WiltshireJ
                                  Jared Wiltshire @psysak
                                  last edited by Jared Wiltshire

                                  @psysak said in Chrome on a MacBook:

                                  I just had this issue pop up in page editor as well. However, I've also realized that everything works perfectly fine in FireFox so if I have any issues I just open that up.

                                  If it is happening on the dashboard designer I would also expect it to affect the page editor too. They use the exact same ace editor component. Chrome should work 100% perfectly, the fact that you are still experiencing issues with this indicates there is something amiss with your installation. Please contact me via private message / chat and I'll get you to screen share and we can get to the bottom of it.

                                  You also commented that you were experiencing this issue which was patched long ago.

                                  Developer at Radix IoT

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post