Convert loading of export/import to jQuery ready event.
This way it is done after document is fully loaded and no race conditions can appear as with inline js. patch #2984337, bug #2983446
This commit is contained in:
@@ -63,6 +63,8 @@ $Id$
|
|||||||
thanks to Brian Douglass - bhdouglass
|
thanks to Brian Douglass - bhdouglass
|
||||||
+ patch #2984058 [edit] Buttons for quicky creating common SQL queries, thanks
|
+ patch #2984058 [edit] Buttons for quicky creating common SQL queries, thanks
|
||||||
to sutharshan.
|
to sutharshan.
|
||||||
|
+ patch #2984337 [interface] Convert loading of export/import to jQuery ready
|
||||||
|
event, thanks to sutharshan.
|
||||||
|
|
||||||
3.3.3.0 (not yet released)
|
3.3.3.0 (not yet released)
|
||||||
- patch #2982480 [navi] Do not group if there would be one table in group,
|
- patch #2982480 [navi] Do not group if there would be one table in group,
|
||||||
|
@@ -98,11 +98,6 @@ echo PMA_pluginGetJavascript($export_list);
|
|||||||
</div>
|
</div>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
//<![CDATA[
|
|
||||||
init_options();
|
|
||||||
//]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?php if (strlen($table) && ! isset($num_tables) && ! PMA_Table::isMerge($db, $table)) { ?>
|
<?php if (strlen($table) && ! isset($num_tables) && ! PMA_Table::isMerge($db, $table)) { ?>
|
||||||
<div class="formelementrow">
|
<div class="formelementrow">
|
||||||
|
@@ -279,8 +279,3 @@ echo "\n";
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
|
||||||
//<![CDATA[
|
|
||||||
init_options();
|
|
||||||
//]]>
|
|
||||||
</script>
|
|
||||||
|
@@ -370,6 +370,8 @@ function PMA_pluginGetJavascript(&$list) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(init_options);
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
';
|
';
|
||||||
|
Reference in New Issue
Block a user