replacing spaces in savename, avoiding errors
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2846 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -694,6 +694,8 @@ Ext.define('FHEM.controller.ChartController', {
|
||||
Ext.Msg.prompt("Select a name", "Enter a name to save the Chart", function(action, savename) {
|
||||
if (action === "ok" && !Ext.isEmpty(savename)) {
|
||||
|
||||
//replacing spaces in name
|
||||
savename = savename.replace(" ", "_");
|
||||
|
||||
var device = this.getDevicecombo().getValue(),
|
||||
xaxis = this.getXaxiscombo().getValue(),
|
||||
|
||||
Reference in New Issue
Block a user