- Timestamp:
- 11/27/2011 09:32:10 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/WordPress/plugin/transposh/transposh.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/transposh.php
r674 r682 709 709 function add_transposh_js() { 710 710 //not in any translation mode - no need for any js. 711 if (!($this->edit_mode || $this->is_auto_translate_permitted() )) return;711 if (!($this->edit_mode || $this->is_auto_translate_permitted() || is_admin())) return; // TODO, check just for settings page admin and pages with our translate 712 712 713 713 wp_enqueue_script('transposh', $this->transposh_plugin_url . '/' . TRANSPOSH_DIR_JS . '/transposh.js', array('jquery'), TRANSPOSH_PLUGIN_VER);
Note: See TracChangeset
for help on using the changeset viewer.
