diff --git a/lib/pivotstate/pivotstate.class.php b/lib/pivotstate/pivotstate.class.php index 349c4846d4..6c41772088 100644 --- a/lib/pivotstate/pivotstate.class.php +++ b/lib/pivotstate/pivotstate.class.php @@ -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; diff --git a/module/pivot/lang/de.php b/module/pivot/lang/de.php index a33c0cd055..73901c4112 100644 --- a/module/pivot/lang/de.php +++ b/module/pivot/lang/de.php @@ -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'; diff --git a/module/pivot/lang/en.php b/module/pivot/lang/en.php index ebf20c4a5f..c646679a66 100644 --- a/module/pivot/lang/en.php +++ b/module/pivot/lang/en.php @@ -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'; diff --git a/module/pivot/lang/fr.php b/module/pivot/lang/fr.php index 23b48acada..96d3fd2914 100644 --- a/module/pivot/lang/fr.php +++ b/module/pivot/lang/fr.php @@ -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'; diff --git a/module/pivot/lang/zh-cn.php b/module/pivot/lang/zh-cn.php index 0438e3b6c8..d343b26596 100644 --- a/module/pivot/lang/zh-cn.php +++ b/module/pivot/lang/zh-cn.php @@ -274,6 +274,7 @@ $lang->pivot->pastDays = '距今天数'; $lang->pivot->saveAsDataview = '存为中间表'; $lang->pivot->confirmDelete = '您确认要删除吗?'; +$lang->pivot->confirmLeave = '当前步骤未保存,确认要离开吗?'; $lang->pivot->nameEmpty = '『名称』不能为空'; $lang->pivot->noPivotTip = '保存设置后,即可显示透视表';