|
|
@@ -2002,11 +2002,22 @@ class TableAjax extends ViewAjax {
|
|
|
_mapEditorWrap.append(mapEditor);
|
|
|
}
|
|
|
|
|
|
+ _mapEditorWrap.css({padding:'5px'});
|
|
|
_mapEditorDialog = _mapEditorWrap.dialog({
|
|
|
width: 540,
|
|
|
minWidth: 400,
|
|
|
minHeight: 400,
|
|
|
- resizeStop: function(){
|
|
|
+ resizeStart: function(e, d) {
|
|
|
+ jQuery(this).children(":first").css({display:'none'});
|
|
|
+ },
|
|
|
+ resizeStop: function(e, d){
|
|
|
+ console.log('d', d);
|
|
|
+ var n = jQuery(this),
|
|
|
+ mapWrap = n.children(":first"),
|
|
|
+ map = mapWrap.children(":first");
|
|
|
+ n.width(n.parent().innerWidth() - 20);
|
|
|
+ map.css({height: n.height(), width: n.width()});
|
|
|
+ mapWrap.css({display: 'block'});
|
|
|
_mapEditor.TableAjaxMapUpdateSize(); //to prevent drag-zoom error
|
|
|
},
|
|
|
dragStop: function(){
|