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