|
27 | 27 | button.val( button.attr( 'data-t-editor' ) );
|
28 | 28 | button.html( button.attr( 'data-t-editor' ) );
|
29 | 29 | button.attr( 'data-current', 'editor' );
|
| 30 | + $('p.simple-editor-type').hide(); |
30 | 31 | $( '.viz-text-editor' ).css("z-index", "9999").show();
|
31 | 32 | $( '#canvas' ).css("z-index", "-100").hide();
|
32 | 33 | $('.viz-simple-editor').css("z-index", "9999").show();
|
|
35 | 36 | button.html( button.attr( 'data-t-chart' ) );
|
36 | 37 | button.attr( 'data-current', 'chart' );
|
37 | 38 | $( '.viz-text-editor' ).hide();
|
| 39 | + $('p.simple-editor-type').show(); |
38 | 40 | $( '#canvas' ).css("z-index", "1").show();
|
39 | 41 | $('.viz-simple-editor').hide();
|
40 | 42 | }
|
|
70 | 72 | $( '.viz-table-editor' ).css("z-index", "9999").show();
|
71 | 73 | $('body').trigger('visualizer:db:editor:table:redraw', {});
|
72 | 74 | $( '#canvas' ).css("z-index", "-100").hide();
|
| 75 | + $('p.simple-editor-type').hide(); |
73 | 76 | $('.viz-simple-editor').css("z-index", "9999").show();
|
74 | 77 | }else{
|
75 | 78 | button.val( button.attr( 'data-t-chart' ) );
|
|
78 | 81 | $( '.viz-table-editor' ).hide();
|
79 | 82 | $( '#canvas' ).css("z-index", "1").show();
|
80 | 83 | $('.viz-simple-editor').hide();
|
| 84 | + $('p.simple-editor-type').show(); |
81 | 85 | }
|
82 | 86 | }
|
83 | 87 |
|
|
0 commit comments