You are here

function imagecrop_button_has_loaded in Image javascript crop 7

Does an imagecrop button has been loaded.

File

./imagecrop.module, line 733
Provides a javascript toolbox through an imagecache action.

Code

function imagecrop_button_has_loaded($loaded) {
  static $has_loaded = FALSE;
  if ($loaded) {
    $has_loaded = $loaded;
  }
  return $has_loaded;
}