summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-12-09 09:57:10 +0530
committerSashi202019-12-09 09:57:10 +0530
commit8dc7e948eeec14a32d4d49c8e0965d92b470c0d2 (patch)
treecad304f8337849ec233d51e9abcde5a3fe09e99d
parentc62fd08b7b6d4c49745aa1d90a780417391c3fd7 (diff)
downloaddwsim_custom_model-8dc7e948eeec14a32d4d49c8e0965d92b470c0d2.tar.gz
dwsim_custom_model-8dc7e948eeec14a32d4d49c8e0965d92b470c0d2.tar.bz2
dwsim_custom_model-8dc7e948eeec14a32d4d49c8e0965d92b470c0d2.zip
Modify form name to manage bulk submission
-rwxr-xr-xabstract_submission_bulk_approval.inc4
-rwxr-xr-xcustom_model.module2
2 files changed, 3 insertions, 3 deletions
diff --git a/abstract_submission_bulk_approval.inc b/abstract_submission_bulk_approval.inc
index 667b128..04b348c 100755
--- a/abstract_submission_bulk_approval.inc
+++ b/abstract_submission_bulk_approval.inc
@@ -1,6 +1,6 @@
<?php
-function custom_model_abstract_bulk_approval_form($form, &$form_state)
+function custom_model_abstract_submission_bulk_approval_form($form, &$form_state)
{
$options_first = _bulk_list_of_custom_model_proposals();
$selected = isset($form_state['values']['custom_model_proposals']) ? $form_state['values']['custom_model_proposals'] : key($options_first);
@@ -79,7 +79,7 @@ function ajax_bulk_custom_model_abstract_details_callback($form, $form_state)
);
}
/************************************************************/
-function custom_model_abstract_bulk_approval_form_submit($form, &$form_state)
+function custom_model_abstract_submission_bulk_approval_form_submit($form, &$form_state)
{
global $user;
$msg = '';
diff --git a/custom_model.module b/custom_model.module
index 7cf9e20..5530670 100755
--- a/custom_model.module
+++ b/custom_model.module
@@ -153,7 +153,7 @@ function custom_model_menu()
'description' => 'Bulk Mangage submission',
'page callback' => 'drupal_get_form',
'page arguments' => array(
- 'custom_model_abstract_bulk_approval_form'
+ 'custom_model_abstract_submission_bulk_approval_form'
),
'access arguments' => array(
'custom model bulk manage submission'