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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deletesessionvarAction()
|
public function donotshowpopupAction()
|
||||||
{
|
{
|
||||||
// unset session
|
// unset session
|
||||||
Zend_Session::namespaceUnset('referrer');
|
Zend_Session::namespaceUnset('referrer');
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
var dialogGlob;
|
var dialogGlob;
|
||||||
|
|
||||||
function deleteSessionVar(){
|
function doNotShowPopup(){
|
||||||
$.get("/Preference/deletesessionvar");
|
$.get("/Preference/donotshowpopup");
|
||||||
}
|
}
|
||||||
|
|
||||||
$.get("/Preference/register", {format:"json"}, function(json){
|
$.get("/Preference/register", {format:"json"}, function(json){
|
||||||
|
@ -15,7 +15,7 @@ $(document).ready(function(){
|
||||||
resizable: false,
|
resizable: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
position:['center',50],
|
position:['center',50],
|
||||||
close: deleteSessionVar,
|
close: doNotShowPopup,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
id: "remind_me",
|
id: "remind_me",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue