summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt2
-rw-r--r--views_ui.module4
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 0c18532..3137d42 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -41,6 +41,7 @@ Views --dev
o #130381: (mgull) Clear the page cache after a view is saved or deleted so that anonymous users will see changes.
o #130746: Save and edit went to the wrong place if view didn't previously exist.
o #133144: views filters weren't getting deleted when a view was deleted, causing cruft buildup.
+ o #125819: Cancel button went to bad page after Clone/Add.
New features:
o #105620: (Attempt 2) allow modules to alter views tables + arguments
@@ -75,6 +76,7 @@ Views 5.x-1.5
o 110648: Block title not showing up in admin if view only provides block.
o 110462: set_distinct didn't properly check to see if the query was already distinct.
o Distinct filter could mess up summary queries by making them distinct on nid which isn't what is supposed to happen there.
+
New features:
o 107471: Spiffy new theme wizard features. Thanks Crell!!
o 105081: Save and edit button to save but not go change screens.
diff --git a/views_ui.module b/views_ui.module
index c98084c..64bf503 100644
--- a/views_ui.module
+++ b/views_ui.module
@@ -446,7 +446,7 @@ function views_ui_admin_add_page($template = NULL) {
$op = $_POST['op'];
if ($op == t('Cancel')) {
- return 'admin/build/views';
+ drupal_goto('admin/build/views');
}
$view = _views_get_default_view($template);
@@ -464,7 +464,7 @@ function views_ui_admin_clone_page($viewname) {
$op = $_POST['op'];
if ($op == t('Cancel')) {
- return 'admin/build/views';
+ drupal_goto('admin/build/views');
}
$view = views_load_view($viewname);