You are here

function context_ui_activate in Context 7.3

A page call back to activate the context_ui inline editor dialog.

1 string reference to 'context_ui_activate'
context_ui_menu in context_ui/context_ui.module
Implementation of hook_menu().

File

context_ui/context_ui.module, line 385

Code

function context_ui_activate() {
  if (isset($_GET['destination']) && !url_is_external($_GET['destination'])) {
    $_SESSION['context_ui_active'] = $_GET['destination'];
    drupal_goto($_GET['destination']);
  }
}