summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorauth2012-11-11 01:50:11 (GMT)
committerEmil Stjerneman2012-11-11 01:50:11 (GMT)
commit11c50b8dfb5232fb8500dbce1d2c1a33a46236cc (patch)
tree289a117c859d04ab9c04e612be52b23b3023f0fe
parentab471830b71928750e364d414205f685536ca53c (diff)
Fixed issue #1800824 - Page requests without html wrapper returns 500 error.
-rw-r--r--linkit.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/linkit.module b/linkit.module
index e20a66f..b26ef47 100644
--- a/linkit.module
+++ b/linkit.module
@@ -246,6 +246,7 @@ function linkit_library() {
function _linkit_dashboard($editor) {
$form = drupal_get_form('linkit_dashboard_form');
print drupal_render($form);
+ drupal_exit();
}
/**
@@ -267,6 +268,7 @@ function _linkit_autocomplete($search = NULL) {
));
}
drupal_json_output($results);
+ drupal_exit();
}
/**