CC-2460:Popup shouldn't show after X is pressed
- changed function name to "donotshowpopup"
This commit is contained in:
parent
4ca7b3cf16
commit
cb72db4a31
2 changed files with 4 additions and 4 deletions
|
@ -114,7 +114,7 @@ class PreferenceController extends Zend_Controller_Action
|
|||
die();
|
||||
}
|
||||
|
||||
public function deletesessionvarAction()
|
||||
public function donotshowpopupAction()
|
||||
{
|
||||
// unset session
|
||||
Zend_Session::namespaceUnset('referrer');
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$(document).ready(function(){
|
||||
var dialogGlob;
|
||||
|
||||
function deleteSessionVar(){
|
||||
$.get("/Preference/deletesessionvar");
|
||||
function doNotShowPopup(){
|
||||
$.get("/Preference/donotshowpopup");
|
||||
}
|
||||
|
||||
$.get("/Preference/register", {format:"json"}, function(json){
|
||||
|
@ -15,7 +15,7 @@ $(document).ready(function(){
|
|||
resizable: false,
|
||||
modal: true,
|
||||
position:['center',50],
|
||||
close: deleteSessionVar,
|
||||
close: doNotShowPopup,
|
||||
buttons: [
|
||||
{
|
||||
id: "remind_me",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue