Page 3 of 4

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 13:30
by raymond
Yep done, I see the link has changed but it doesn't work unfortunately. Tried Firefox, Safari for both the installs, so on my Pi and Synology

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 14:02
by robgeerts
Do you get any error in console?
Otherwise, let's have a teamviewer-session tonight...

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 14:53
by raymond
Yes I get a bunch of errors in the console, but not sure where to look for and post.

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 21:16
by robgeerts
Is it possible to have a Teamviewer-session?
(You can PM me your ID + pass if you have Teamviewer installed!)

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 21:32
by raymond
Not tonight i'm afraid but thanks for offering

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 14 August 2017 21:36
by robgeerts
You can also select all the red lines in console en PM me those..

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 10:07
by raymond
Not much to go on I'm afraid. I saw some errors on the security panel from Domoticz, and Buienradar is giving some errors. I switched off the SecPanel as this was one of the last additions I've made. The error remaining is:

Code: Select all

TypeError: can't access dead object
htmlPanel.js (line 1082, col 17)
<System>
Then it does throws some Buienradar stuff in, while this is working perfectly by the way:

Code: Select all

TypeError: o is undefined
buienradar.min.js (line 1, col 8360)

TypeError: window.buienradar.api is undefined
2749812...2957303 (line 166, col 5)

TypeError: window.buienradar.controls is undefined
2749812...2957303 (line 304, col 25)

TypeError: window.buienradar.getParameterByName is not a function
It is irrelevant to the browser, OS or device I'm using, and in addition I've re-installed to beta from scratch on the Pi and on a Synology box to see if it makes any difference, which it doesn't. It seems like it cannot write the settings (??)

Anyway, I wouldn't stress it too much as I don't see anyone else with the problem. I don't want to keep you from doing other stuff ;-)

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 10:19
by ztorm
scrolling is back :(

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 10:28
by robgeerts
@raymond and @ztorm,

I really would like to have a teamviewer session.
As I dont have any problems it's hard to fix it.

I would appreciate it if you could send me your teamviewer details bij PM..

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 12:23
by raymond
@Rob,

Understood you cannot do anything when you don't have the error described.
I managed to get this out when I move a block:

Code: Select all

ReferenceError: reference to undefined property "returnValue"[Learn More]  jquery.min.js:3:10101
The "Learn More" goes here: https://developer.mozilla.org/en-US/doc ... fined_prop
I doubt this helps though, so a TeamViewer might do the trick.

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 12:55
by robgeerts
Indeed, it doesnt help me much ;)
Could you send me your teamviewer credentials via PM?

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 13:12
by raymond
Done ;-)

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 15 August 2017 21:24
by h143
i have the same error wenn i want save it Chrome says
javascript:void(0);

and the next errorin the console:

Code: Select all

Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
(anonymous)
each @ :8080/dashticz_v2/vendor/jquery/jquery.min.js:2
each @ :8080/dashticz_v2/vendor/jquery/jquery.min.js:2
saveBlocks
onclick @ 192.168.1.20/:1
21:22:45.184 192.168.1.20/:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
21:22:47.080 192.168.1.20/:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
21:22:50.608 192.168.1.20/:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
21:23:25.173 192.168.1.20/:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
21:23:27.141 192.168.1.20/:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:72:47)
    at Function.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at n.fn.init.each (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2)
    at saveBlocks (eval at globalEval (:8080/dashticz_v2/vendor/jquery/jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick (192.168.1.20/:1)
21:24:04.697 VM117:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (jquery.min.js:2), <anonymous>:72:47)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
    at saveBlocks (eval at globalEval (jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick ((index):1)
(anonymous) @ VM117:72
each @ jquery.min.js:2
each @ jquery.min.js:2
saveBlocks @ VM117:43
onclick @ (index):1
21:24:14.347 VM117:72 Uncaught TypeError: Cannot read property 'width' of undefined
    at HTMLDivElement.eval (eval at globalEval (jquery.min.js:2), <anonymous>:72:47)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
    at saveBlocks (eval at globalEval (jquery.min.js:2), <anonymous>:43:20)
    at HTMLAnchorElement.onclick ((index):1)
(anonymous) @ VM117:72
each @ jquery.min.js:2
each @ jquery.min.js:2
saveBlocks @ VM117:43
onclick @ (index):1

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Wednesday 16 August 2017 9:38
by robgeerts
Are you on iOS?

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Wednesday 16 August 2017 21:16
by h143
No that was on windows 10

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Monday 21 August 2017 10:38
by poudenes
Add the line in top of the config.js. Did a git pull to get latest beta.
I have multiple screens, maybe that is the problem. But i can't move things at all haha

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Tuesday 22 August 2017 21:48
by robgeerts
Do you get any console error?

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Thursday 24 August 2017 9:24
by poudenes
robgeerts wrote: Tuesday 22 August 2017 21:48 Do you get any console error?
no, nothing, just my current Dashticz beta screens...

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Thursday 24 August 2017 10:29
by raymond
poudenes wrote: Thursday 24 August 2017 9:24
robgeerts wrote: Tuesday 22 August 2017 21:48 Do you get any console error?
no, nothing, just my current Dashticz beta screens...
Are you using the old definition for getting into Edit mode?

This:

Code: Select all

var _EDIT_MODE = true;
is now

Code: Select all

config['edit_mode'] = 1;
it should be in the list after

Code: Select all

var config = {}
in CONFIG.js

Re: Dashticz - [BETA] Function - Sortable blocks

Posted: Thursday 24 August 2017 11:25
by poudenes
raymond wrote: Thursday 24 August 2017 10:29

Code: Select all

config['edit_mode'] = 1;
it should be in the list after

Code: Select all

var config = {}
in CONFIG.js
This was the solution thanks !!