summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-17 11:27:38 +0530
committerJayaram R Pai2014-07-17 11:27:38 +0530
commitb31cf3a933222afcafe0c9e9ada387c5a8c20dc5 (patch)
tree5adf088b8767dcb2a05eddcdc6ef5d0f8af8aec5
parentfb987d61ba52a9abcd6580d33501dac8948e9c84 (diff)
downloadscilab_textbook_companion-b31cf3a933222afcafe0c9e9ada387c5a8c20dc5.tar.gz
scilab_textbook_companion-b31cf3a933222afcafe0c9e9ada387c5a8c20dc5.tar.bz2
scilab_textbook_companion-b31cf3a933222afcafe0c9e9ada387c5a8c20dc5.zip
made edition and year editable - aicte
-rwxr-xr-xtextbook_companion.module6
1 files changed, 0 insertions, 6 deletions
diff --git a/textbook_companion.module b/textbook_companion.module
index e4e1a0e..26aa4aa 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -873,7 +873,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 2,
'#required' => TRUE,
'#value' => $row1->edition,
- '#disabled' => ($row1->edition?TRUE:FALSE),
);
$form['preference1']['year1'] = array(
'#type' => 'textfield',
@@ -882,7 +881,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 4,
'#required' => TRUE,
'#value' => $row1->year,
- '#disabled' => ($row1->year?TRUE:FALSE),
);
$form['preference2'] = array(
'#type' => 'fieldset',
@@ -933,7 +931,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 2,
'#required' => TRUE,
'#value' => $row2->edition,
- '#disabled' => ($row2->edition?TRUE:FALSE),
);
$form['preference2']['year2'] = array(
'#type' => 'textfield',
@@ -942,7 +939,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 4,
'#required' => TRUE,
'#value' => $row2->year,
- '#disabled' => ($row2->year?TRUE:FALSE),
);
$form['preference3'] = array(
'#type' => 'fieldset',
@@ -993,7 +989,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 2,
'#required' => TRUE,
'#value' => $row3->edition,
- '#disabled' => ($row3->edition?TRUE:FALSE),
);
$form['preference3']['year3'] = array(
'#type' => 'textfield',
@@ -1002,7 +997,6 @@ function book_proposal_form($form_state, $row1=NULL, $row2=NULL, $row3=NULL)
'#maxlength' => 4,
'#required' => TRUE,
'#value' => $row3->year,
- '#disabled' => ($row3->year?TRUE:FALSE),
);
$form['termconditions'] = array(
'#type' => 'checkboxes',