Resolved gh-418 by adding an on before cancel custom script area to the admin view.
This commit is contained in:
@ -160,6 +160,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||
`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,
|
||||
`add_php_before_cancel` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_before_delete` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_before_publish` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_before_save` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
@ -204,6 +205,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||
`php_allowedit` MEDIUMTEXT NOT NULL,
|
||||
`php_batchcopy` MEDIUMTEXT NOT NULL,
|
||||
`php_batchmove` MEDIUMTEXT NOT NULL,
|
||||
`php_before_cancel` MEDIUMTEXT NOT NULL,
|
||||
`php_before_delete` MEDIUMTEXT NOT NULL,
|
||||
`php_before_publish` MEDIUMTEXT NOT NULL,
|
||||
`php_before_save` MEDIUMTEXT NOT NULL,
|
||||
@ -249,28 +251,29 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||
KEY `idx_modifiedby` (`modified_by`),
|
||||
KEY `idx_state` (`published`),
|
||||
KEY `idx_name_single` (`name_single`),
|
||||
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
|
||||
KEY `idx_add_php_before_cancel` (`add_php_before_cancel`),
|
||||
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
|
||||
KEY `idx_add_php_save` (`add_php_save`),
|
||||
KEY `idx_add_php_getform` (`add_php_getform`),
|
||||
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
|
||||
KEY `idx_add_php_document` (`add_php_document`),
|
||||
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
|
||||
KEY `idx_add_fadein` (`add_fadein`),
|
||||
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
|
||||
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
|
||||
KEY `idx_mysql_table_collate` (`mysql_table_collate`),
|
||||
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
|
||||
KEY `idx_add_sql` (`add_sql`),
|
||||
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
|
||||
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
|
||||
KEY `idx_type` (`type`),
|
||||
KEY `idx_add_custom_import` (`add_custom_import`),
|
||||
KEY `idx_name_list` (`name_list`),
|
||||
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
|
||||
KEY `idx_add_php_before_save` (`add_php_before_save`),
|
||||
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
|
||||
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_mysql_table_engine` (`mysql_table_engine`),
|
||||
KEY `idx_add_sql` (`add_sql`),
|
||||
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_mysql_table_collate` (`mysql_table_collate`),
|
||||
KEY `idx_add_custom_import` (`add_custom_import`),
|
||||
KEY `idx_name_list` (`name_list`),
|
||||
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`),
|
||||
|
Reference in New Issue
Block a user