Commit ebfebf10 authored by damiankloip's avatar damiankloip Committed by tim.plunkett

Issue #1791242 by damiankloip: ViewStorageController::attachLoad() should call parent.

parent 230cdaf1
......@@ -52,11 +52,11 @@ public function hookMenu() {
);
// Add an enable link.
$items["$path/view/%views_ui_view/enable"] = array(
$items["$path/view/%views_ui/enable"] = array(
'title' => 'Enable a view',
) + $ajax_base;
// Add a disable link.
$items["$path/view/%views_ui_view/disable"] = array(
$items["$path/view/%views_ui/disable"] = array(
'title' => 'Disable a view',
) + $ajax_base;
......
......@@ -53,6 +53,8 @@ protected function attachLoad(&$queried_entities, $revision_id = FALSE) {
}
$this->attachDisplays($entity);
}
parent::attachLoad($queried_entities, $revision_id);
}
/**
......
......@@ -747,6 +747,6 @@ function views_ui_truncate($string, $length) {
/**
* Magic load function. Wrapper to load a view.
*/
function views_ui_view_load($name) {
function views_ui_load($name) {
return views_get_view($name);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment