CC-2460: popup doesn't popup again after press X
- fixed
This commit is contained in:
parent
77656c6499
commit
6de8b09184
2 changed files with 12 additions and 0 deletions
|
@ -113,6 +113,13 @@ class PreferenceController extends Zend_Controller_Action
|
||||||
Application_Model_Preference::SetRemindMeDate($now);
|
Application_Model_Preference::SetRemindMeDate($now);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function deletesessionvarAction()
|
||||||
|
{
|
||||||
|
// unset session
|
||||||
|
Zend_Session::namespaceUnset('referrer');
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
public function directoryConfigAction()
|
public function directoryConfigAction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
var dialogGlob;
|
var dialogGlob;
|
||||||
|
|
||||||
|
function deleteSessionVar(){
|
||||||
|
$.get("/Preference/deletesessionvar");
|
||||||
|
}
|
||||||
|
|
||||||
$.get("/Preference/register", {format:"json"}, function(json){
|
$.get("/Preference/register", {format:"json"}, function(json){
|
||||||
var dialog = $(json.dialog);
|
var dialog = $(json.dialog);
|
||||||
dialogGlob = dialog;
|
dialogGlob = dialog;
|
||||||
|
@ -11,6 +15,7 @@ $(document).ready(function(){
|
||||||
resizable: false,
|
resizable: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
position:['center',50],
|
position:['center',50],
|
||||||
|
close: deleteSessionVar,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
id: "remind_me",
|
id: "remind_me",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue