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
|
@ -114,6 +114,13 @@ class PreferenceController extends Zend_Controller_Action
|
|||
die();
|
||||
}
|
||||
|
||||
public function deletesessionvarAction()
|
||||
{
|
||||
// unset session
|
||||
Zend_Session::namespaceUnset('referrer');
|
||||
die();
|
||||
}
|
||||
|
||||
public function directoryConfigAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
$(document).ready(function(){
|
||||
var dialogGlob;
|
||||
|
||||
function deleteSessionVar(){
|
||||
$.get("/Preference/deletesessionvar");
|
||||
}
|
||||
|
||||
$.get("/Preference/register", {format:"json"}, function(json){
|
||||
var dialog = $(json.dialog);
|
||||
dialogGlob = dialog;
|
||||
|
@ -11,6 +15,7 @@ $(document).ready(function(){
|
|||
resizable: false,
|
||||
modal: true,
|
||||
position:['center',50],
|
||||
close: deleteSessionVar,
|
||||
buttons: [
|
||||
{
|
||||
id: "remind_me",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue