Skip to content
Snippets Groups Projects
Commit df5292b3 authored by Brandon Bergren's avatar Brandon Bergren
Browse files

Disable preview rendering so we don't screw up the views ui.

parent 1863bcff
No related branches found
No related tags found
No related merge requests found
......@@ -302,4 +302,11 @@ class gmap_plugin_style_gmapextended extends views_plugin_style {
form_error($form['highlight_nodearg_color'], t('Highlight colour must be a valid hex code in the form #FF0000.'));
}
}
function render() {
if (isset($this->view->live_preview) && $this->view->live_preview) {
return t('GMap views are not compatible with live preview.');
}
return parent::render();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment