Changeset 3893 for branches/plugin/bbp-admin/bbp-converter.php
- Timestamp:
- 05/07/2012 04:32:55 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-converter.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-converter.php
r3888 r3893 190 190 191 191 function bbconverter_start() { 192 if( !bbconverter_is_running ) {192 if( false == bbconverter_is_running ) { 193 193 bbconverter_is_running = true; 194 194 jQuery('#bbp-converter-start').hide(); … … 214 214 function bbconverter_stop() { 215 215 bbconverter_is_running = false; 216 jQuery('#bbp-converter-message strong').removeClass( 'loading' ); 216 217 } 217 218 … … 224 225 jQuery('#bbp-converter-stop').hide(); 225 226 jQuery('#bbp-converter-progress').hide(); 227 bbconverter_stop(); 226 228 clearTimeout( bbconverter_run_timer ); 227 229 } else if( bbconverter_is_running ) { // keep going … … 238 240 239 241 function bbconverter_log(text) { 240 if (jQuery('#bbp-converter-message').css('display') == 'none') {242 if ( jQuery('#bbp-converter-message').css('display') == 'none' ) { 241 243 jQuery('#bbp-converter-message').show(); 242 244 } 243 if ( text ) {245 if ( text ) { 244 246 jQuery('#bbp-converter-message strong').removeClass( 'loading' ); 245 247 jQuery('#bbp-converter-message').prepend('<p><strong class="loading">' + text + '</strong></p>'); … … 578 580 public $sync_table_name; 579 581 582 /** Methods ***************************************************************/ 583 580 584 /** 581 585 * This is the constructor and it connects to the platform databases. 582 586 */ 583 function __construct() {587 public function __construct() { 584 588 $this->setup_globals(); 585 589 }
Note: See TracChangeset
for help on using the changeset viewer.