2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

replacing spaces in savename, avoiding errors

git-svn-id: https://svn.fhem.de/fhem/trunk@2848 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
johannnes 2013-03-03 11:43:34 +00:00
parent 78a49858d5
commit bae33869a5
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ UPD 2013-03-02_06:13:13 7826 www/frontend/app/view/Viewport.js
UPD 2013-03-02_06:11:57 4269 www/frontend/app/view/DevicePanel.js
UPD 2013-03-01_05:43:56 2503 www/frontend/app/view/TableDataGridPanel.js
UPD 2013-03-01_05:43:55 1310 www/frontend/app/view/LineChartView.js
UPD 2013-03-03_12:33:19 41689 www/frontend/app/controller/ChartController.js
UPD 2013-03-03_12:42:20 41690 www/frontend/app/controller/ChartController.js
UPD 2013-03-02_06:14:02 10733 www/frontend/app/controller/MainController.js
UPD 2013-03-01_05:43:32 202 www/frontend/app/model/ReadingsModel.js
UPD 2013-03-01_05:43:32 338 www/frontend/app/model/SavedChartsModel.js

View File

@ -695,7 +695,7 @@ Ext.define('FHEM.controller.ChartController', {
if (action === "ok" && !Ext.isEmpty(savename)) {
//replacing spaces in name
savename = savename.replace(" ", "_");
savename = savename.replace(/ /g, "_");
var device = this.getDevicecombo().getValue(),
xaxis = this.getXaxiscombo().getValue(),