[gnome-maps/wip/osm-edit: 31/47] osmEdit: call upload with the actual OSM object



commit 0e5ca07d3035c313bfdf0988429226c2967115f4
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Feb 16 23:37:54 2015 +0100

    osmEdit: call upload with the actual OSM object

 src/osmEditDialog.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/osmEditDialog.js b/src/osmEditDialog.js
index 0ff37ae..9ead2bf 100644
--- a/src/osmEditDialog.js
+++ b/src/osmEditDialog.js
@@ -76,7 +76,7 @@ const OSMEditDialog = new Lang.Class({
            this._isEditing = false;
        } else {
            // upload data to OSM
-           Application.osmEditManager.uploadObject(this._place,
+           Application.osmEditManager.uploadObject(this._osmObject,
                                                    this._commentEntry.text,
                                                    this._sourceEntry.text,
                                                    this._uploadOSMObjectCB);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]