| @@ -29,9 +29,8 @@ | ||
| 29 | 29 | button.val( button.attr( 'data-t-chart' ) ); |
| 30 | 30 | button.html( button.attr( 'data-t-chart' ) ); |
| 31 | 31 | button.attr( 'data-current', 'chart' ); |
| 32 | 32 | $('p.viz-editor-selection').show(); |
| 33 | - $('p.viz-info-msg').hide(); | |
| 34 | 33 | $('.viz-text-editor').hide(); |
| 35 | 34 | $('.viz-simple-editor').hide(); |
| 36 | 35 | $( '#canvas' ).css('z-index', '1').show(); |
| 37 | 36 | }); |
| @@ -40,9 +39,8 @@ | ||
| 40 | 39 | button.val( button.attr( 'data-t-editor' ) ); |
| 41 | 40 | button.html( button.attr( 'data-t-editor' ) ); |
| 42 | 41 | button.attr( 'data-current', 'editor' ); |
| 43 | 42 | $('p.viz-editor-selection').hide(); |
| 44 | - $('p.viz-info-msg').show(); | |
| 45 | 43 | $('.viz-text-editor').css('z-index', '9999').show(); |
| 46 | 44 | $('.viz-simple-editor').css('z-index', '9999').show(); |
| 47 | 45 | $( '#canvas' ).css('z-index', '-100').hide(); |
| 48 | 46 | }else{ |
| @@ -54,9 +52,8 @@ | ||
| 54 | 52 | button.val( button.attr( 'data-t-chart' ) ); |
| 55 | 53 | button.html( button.attr( 'data-t-chart' ) ); |
| 56 | 54 | button.attr( 'data-current', 'chart' ); |
| 57 | 55 | $('p.viz-editor-selection').show(); |
| 58 | - $('p.viz-info-msg').hide(); | |
| 59 | 56 | $('.viz-text-editor').hide(); |
| 60 | 57 | $('.viz-simple-editor').hide(); |
| 61 | 58 | $( '#canvas' ).css('z-index', '1').show(); |
| 62 | 59 | } |
| @@ -76,9 +73,8 @@ | ||
| 76 | 73 | button.val( button.attr( 'data-t-chart' ) ); |
| 77 | 74 | button.html( button.attr( 'data-t-chart' ) ); |
| 78 | 75 | button.attr( 'data-current', 'chart' ); |
| 79 | 76 | $('p.viz-editor-selection').show(); |
| 80 | - $('p.viz-info-msg').hide(); | |
| 81 | 77 | $('.viz-table-editor').hide(); |
| 82 | 78 | $('.viz-simple-editor').hide(); |
| 83 | 79 | $( '#canvas' ).css('z-index', '1').show(); |
| 84 | 80 | }); |
| @@ -87,9 +83,8 @@ | ||
| 87 | 83 | button.val( button.attr( 'data-t-editor' ) ); |
| 88 | 84 | button.html( button.attr( 'data-t-editor' ) ); |
| 89 | 85 | button.attr( 'data-current', 'editor' ); |
| 90 | 86 | $('p.viz-editor-selection').hide(); |
| 91 | - $('p.viz-info-msg').show(); | |
| 92 | 87 | $( '.viz-table-editor' ).css("z-index", "9999").show(); |
| 93 | 88 | $('.viz-simple-editor').css('z-index', '9999').show(); |
| 94 | 89 | $('body').trigger('visualizer:db:editor:table:redraw', {}); |
| 95 | 90 | $( '#canvas' ).css("z-index", "-100").hide(); |
| @@ -94,9 +89,8 @@ | ||
| 94 | 89 | $('body').trigger('visualizer:db:editor:table:redraw', {}); |
| 95 | 90 | $( '#canvas' ).css("z-index", "-100").hide(); |
| 96 | 91 | }else{ |
| 97 | 92 | $('#canvas').lock(); |
| 98 | - jQuery('.dataTables_scrollBody .sorting_disabled input').attr('disabled', true); | |
| 99 | 93 | $('#table-editor-form').submit(); |
| 100 | 94 | |
| 101 | 95 | // showing the chart |
| 102 | 96 | button.val( button.attr( 'data-t-chart' ) ); |
| @@ -102,9 +96,8 @@ | ||
| 102 | 96 | button.val( button.attr( 'data-t-chart' ) ); |
| 103 | 97 | button.html( button.attr( 'data-t-chart' ) ); |
| 104 | 98 | button.attr( 'data-current', 'chart' ); |
| 105 | 99 | $('p.viz-editor-selection').show(); |
| 106 | - $('p.viz-info-msg').hide(); | |
| 107 | 100 | $('.viz-table-editor').hide(); |
| 108 | 101 | $('.viz-simple-editor').hide(); |
| 109 | 102 | $( '#canvas' ).css('z-index', '1').show(); |
| 110 | 103 | } |