improved the redirect option to work even if the parent method returns false. Resolved gh-330 by addig a full width class

This commit is contained in:
2018-08-14 10:25:46 +02:00
parent 62bdb8a659
commit 70e198abf3
79 changed files with 5175 additions and 5457 deletions

View File

@ -146,6 +146,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`add_php_after_delete` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_after_publish` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_ajax` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_allowadd` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_allowedit` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchmove` TINYINT(1) NOT NULL DEFAULT 0,
@ -185,6 +186,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`php_after_delete` MEDIUMTEXT NOT NULL,
`php_after_publish` MEDIUMTEXT NOT NULL,
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
`php_allowadd` MEDIUMTEXT NOT NULL,
`php_allowedit` MEDIUMTEXT NOT NULL,
`php_batchcopy` MEDIUMTEXT NOT NULL,
`php_batchmove` MEDIUMTEXT NOT NULL,
@ -234,25 +236,26 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_state` (`published`),
KEY `idx_name_single` (`name_single`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
KEY `idx_add_php_before_save` (`add_php_before_save`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_type` (`type`),
KEY `idx_add_fadein` (`add_fadein`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_add_sql` (`add_sql`),
KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),

View File

@ -0,0 +1,3 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_allowadd` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_ajax`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_allowadd` MEDIUMTEXT NOT NULL AFTER `php_ajaxmethod`;