Rob, trying out this new function. I put config['edit_mode'] = 1; in my CONFIG.js, refresh the dashboard and I got on the left side a column with devices. I can drag one to the dashboard. When I push "SAFE" on the right-bottom, nothing happens. After a refresh the item is gone.
- Raspberry PI 2B
- Latest beta version Dashticz
- Workstation is Microsoft Surface 4 with Windows 10
- Browsers is Google Chrome
Dashticz - [BETA] Function - Sortable blocks
Moderators: leecollings, htilburgs, robgeerts
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
For some reason the save button doesnt work on some devices.... havent found a solution yet..
-
- Posts: 71
- Joined: Monday 12 October 2015 15:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10232
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
Rob, I tried some more trouble shooting/google on this.
Since it doesn't work on Pi and Synology installed Dashticz, it might be that I need a linux package/javascript update? Since all browsers/clients/phones/pads result in the same thing.
Since it doesn't work on Pi and Synology installed Dashticz, it might be that I need a linux package/javascript update? Since all browsers/clients/phones/pads result in the same thing.
- DewGew
- Posts: 581
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
I got this error when I try to save my block:
I found that the error is in sortable.js:
curcol.find('> div').each(function () {
var curdiv = $(this).data('id');
if (typeof(curdiv) === 'number' || (parseFloat(curdiv) && curdiv.toLowerCase().indexOf("s") <= 0 && curdiv.toLowerCase().indexOf("_") <= 0)) {
cols += curdiv + ', ';
}
else if (curdiv.indexOf(".") > 0) {
cols += curdiv + ', ';
}
else {
cols += '\'' + curdiv + '\', ';
}
Any solution for this?
Code: Select all
Uncaught TypeError: Cannot read property 'indexOf' of undefined
curcol.find('> div').each(function () {
var curdiv = $(this).data('id');
if (typeof(curdiv) === 'number' || (parseFloat(curdiv) && curdiv.toLowerCase().indexOf("s") <= 0 && curdiv.toLowerCase().indexOf("_") <= 0)) {
cols += curdiv + ', ';
}
else if (curdiv.indexOf(".") > 0) {
cols += curdiv + ', ';
}
else {
cols += '\'' + curdiv + '\', ';
}
Any solution for this?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- DewGew
- Posts: 581
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
I commented out:
Now it seems to work again.
Code: Select all
else if (curdiv.indexOf(".") > 0) {
cols += curdiv + ', ';
}
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
Fixed in latest beta, thanks for pointing this out.
-
- Posts: 71
- Joined: Monday 12 October 2015 15:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10232
- Contact:
Re: Dashticz - [BETA] Function - Sortable blocks
Not sure if this did change anything to my above error hitting the Save button, but it now works !
Now I have to figure out why the pop-up with settings is giving me a bunch of Undefined blocks still.
Now I have to figure out why the pop-up with settings is giving me a bunch of Undefined blocks still.
Who is online
Users browsing this forum: No registered users and 1 guest