Save popup
This commit is contained in:
parent
3c98a0720b
commit
821da07c4e
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "flightgear-airports",
|
||||
"version": "0.2.0",
|
||||
"version": "0.0.3",
|
||||
"author": "portree_kid <keith.paterson@gmx.de>",
|
||||
"description": "An software to design Flightgear groundnets",
|
||||
"license": "GPL v3",
|
||||
|
@ -46,5 +46,6 @@
|
||||
}
|
||||
.el-col {
|
||||
border-radius: 1px;
|
||||
padding: 0pt;
|
||||
}
|
||||
</style>
|
||||
|
@ -91,12 +91,15 @@
|
||||
this.editing = false
|
||||
Vue.set(this, 'saveDialogVisible', true)
|
||||
this.editing = false
|
||||
Vue.nextTick( () => {
|
||||
this.$parent.$parent.$refs.editLayer.save()
|
||||
this.$parent.$parent.$refs.editLayer.disableEdit()
|
||||
Vue.set(this, 'saveDialogVisible', false)
|
||||
Vue.nextTick( function () {
|
||||
setTimeout( this.saveDefered.bind(this), 100);
|
||||
}, this)
|
||||
},
|
||||
saveDefered () {
|
||||
this.$parent.$parent.$refs.editLayer.save()
|
||||
this.$parent.$parent.$refs.editLayer.disableEdit()
|
||||
Vue.set(this, 'saveDialogVisible', false)
|
||||
},
|
||||
pollData () {
|
||||
var workery = this.worker
|
||||
var view = this
|
||||
|
@ -76,8 +76,8 @@ exports.extendTaxiSegment = function (taxiwaySegment) {
|
||||
);
|
||||
});
|
||||
this.on('editable:drawing:move', function (event) {
|
||||
console.log(event.target);
|
||||
if (dragIndex >= 0) {
|
||||
console.log('GlueDrag' + event.target);
|
||||
this.follow(dragIndex, event);
|
||||
}
|
||||
});
|
||||
|
@ -31,6 +31,9 @@ function findRouteToPushback (index) {
|
||||
|
||||
function walkPushbackRoute (index, walkedNodes, pushBackNodes) {
|
||||
var polyLines = featureLookup[index];
|
||||
if (polyLines===undefined) {
|
||||
return;
|
||||
}
|
||||
if (pushBackNodeLookup[index]!==undefined) {
|
||||
pushBackNodes.push(pushBackNodeLookup[index]['@index']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user