* [story#54148,doing,0.1h,2h] add confirm leave.
This commit is contained in:
@@ -233,6 +233,14 @@ class pivotState
|
||||
*/
|
||||
public $pager;
|
||||
|
||||
/**
|
||||
* changedWithoutSave
|
||||
*
|
||||
* @var bool
|
||||
* @access public
|
||||
*/
|
||||
public $changedWithoutSave = false;
|
||||
|
||||
public function __construct($pivot, $drills = array())
|
||||
{
|
||||
$this->id = $pivot->id;
|
||||
|
||||
@@ -274,6 +274,7 @@ $lang->pivot->pastDays = 'Past Days';
|
||||
$lang->pivot->saveAsDataview = 'Save as Custom Table';
|
||||
|
||||
$lang->pivot->confirmDelete = 'Do you want to delete this pivot table?';
|
||||
$lang->pivot->confirmLeave = 'The current step is not saved. Are you sure you want to leave?';
|
||||
$lang->pivot->nameEmpty = '『Name』should not be blank';
|
||||
|
||||
$lang->pivot->noPivotTip = 'After you save the Settings, you can display the pivot table';
|
||||
|
||||
@@ -274,6 +274,7 @@ $lang->pivot->pastDays = 'Past Days';
|
||||
$lang->pivot->saveAsDataview = 'Save as Custom Table';
|
||||
|
||||
$lang->pivot->confirmDelete = 'Do you want to delete this pivot table?';
|
||||
$lang->pivot->confirmLeave = 'The current step is not saved. Are you sure you want to leave?';
|
||||
$lang->pivot->nameEmpty = '『Name』should not be blank';
|
||||
|
||||
$lang->pivot->noPivotTip = 'After you save the Settings, you can display the pivot table';
|
||||
|
||||
@@ -274,6 +274,7 @@ $lang->pivot->pastDays = 'Past Days';
|
||||
$lang->pivot->saveAsDataview = 'Save as Custom Table';
|
||||
|
||||
$lang->pivot->confirmDelete = 'Do you want to delete this pivot table?';
|
||||
$lang->pivot->confirmLeave = 'The current step is not saved. Are you sure you want to leave?';
|
||||
$lang->pivot->nameEmpty = '『Name』should not be blank';
|
||||
|
||||
$lang->pivot->noPivotTip = 'After you save the Settings, you can display the pivot table';
|
||||
|
||||
@@ -274,6 +274,7 @@ $lang->pivot->pastDays = '距今天数';
|
||||
$lang->pivot->saveAsDataview = '存为中间表';
|
||||
|
||||
$lang->pivot->confirmDelete = '您确认要删除吗?';
|
||||
$lang->pivot->confirmLeave = '当前步骤未保存,确认要离开吗?';
|
||||
$lang->pivot->nameEmpty = '『名称』不能为空';
|
||||
|
||||
$lang->pivot->noPivotTip = '保存设置后,即可显示透视表';
|
||||
|
||||
Reference in New Issue
Block a user