ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3061


Ignore:
Timestamp:
May 21, 2007, 2:36:49 PM (12 years ago)
Author:
ebihara
Message:

#780:予定編集時、期間設定や内容、参加者などの値がエラー遷移時に保持されていなかったバグの修正

Location:
OpenPNE/branches/2.6.x/webapp_biz/modules/biz
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp_biz/modules/biz/page/fh_biz_schedule_edit.php

    r3004 r3061  
    1818        $form_val['subject'] = $requests['subject'];
    1919        $form_val['body'] = $requests['body'];
     20
     21        $this->set('banner', $requests['sc_bn']);
     22
     23        if ($requests['sc_memo']) {
     24            $requests['value'] = $requests['sc_memo'];
     25        }
    2026
    2127        if ($requests['sc_b_year'] && $requests['sc_b_month'] && $requests['sc_b_date']) {
     
    195201        $this->set('target_biz_group_id', $schedule['biz_group_id']);
    196202
    197         $this->set('public_flag', $schedule['public_flag']);
     203        if ($requests['public_flag']) {
     204            $this->set('public_flag', $requests['public_flag']);
     205        } else {
     206            $this->set('public_flag', $schedule['public_flag']);
     207        }
    198208
    199209        return 'success';
  • OpenPNE/branches/2.6.x/webapp_biz/modules/biz/validate/page/fh_biz_schedule_edit.ini

    r3004 r3061  
    8888caption = "終了分"
    8989
     90[sc_memo]
     91type = "string"
     92required = 0
     93
     94[sc_bn]
     95type="string"
     96required = 0
     97
     98[public_flag]
     99type="string"
     100required=0
Note: See TracChangeset for help on using the changeset viewer.