| Line 470... |
Line 470... |
| 470 |
inline : true,
|
470 |
inline : true,
|
| 471 |
width : "550px",
|
471 |
width : "550px",
|
| 472 |
height : "200px",
|
472 |
height : "200px",
|
| 473 |
href : "div#store-return-auth",
|
473 |
href : "div#store-return-auth",
|
| 474 |
onClosed : function() {
|
474 |
onClosed : function() {
|
| 475 |
$('#store-return-form input[name=orderId], #store-return-form input[name=ticketId]').remove();
|
475 |
$('#store-return-form input[name=orderId], #store-return-form input[name=id]').remove();
|
| 476 |
$("#store-return-auth").hide();
|
476 |
$("#store-return-auth").hide();
|
| 477 |
}
|
477 |
}
|
| 478 |
});
|
478 |
});
|
| 479 |
$("#store-return-form").append("<input type='hidden' name='orderId' value=" + $(this).attr('orderId') + "></input>");
|
479 |
$("#store-return-form").append("<input type='hidden' name='orderId' value=" + $(this).attr('orderId') + "></input>");
|
| 480 |
$("#store-return-form").append("<input type='hidden' name='ticketId' value=" + $(this).attr('ticketId') + "></input>");
|
480 |
$("#store-return-form").append("<input type='hidden' name='id' value=" + $(this).attr('ticketId') + "></input>");
|
| 481 |
$("#store-return-auth").show();
|
481 |
$("#store-return-auth").show();
|
| 482 |
});
|
482 |
});
|
| 483 |
|
483 |
|
| 484 |
$('#display-store-doa-auth-options').live('click', function() {
|
484 |
$('#display-store-doa-auth-options').live('click', function() {
|
| 485 |
$.colorbox({
|
485 |
$.colorbox({
|
| 486 |
inline : true,
|
486 |
inline : true,
|
| 487 |
width : "550px",
|
487 |
width : "550px",
|
| 488 |
height : "200px",
|
488 |
height : "200px",
|
| 489 |
href : "div#store-doa-auth",
|
489 |
href : "div#store-doa-auth",
|
| 490 |
onClosed : function() {
|
490 |
onClosed : function() {
|
| 491 |
$('#store-doa-form input[name=orderId], #store-doa-form input[name=ticketId]').remove();
|
491 |
$('#store-doa-form input[name=orderId], #store-doa-form input[name=id]').remove();
|
| 492 |
$("#store-doa-auth").hide();
|
492 |
$("#store-doa-auth").hide();
|
| 493 |
}
|
493 |
}
|
| 494 |
});
|
494 |
});
|
| 495 |
$("#store-doa-form").append("<input type='hidden' name='orderId' value=" + $(this).attr('orderId') + "></input>");
|
495 |
$("#store-doa-form").append("<input type='hidden' name='orderId' value=" + $(this).attr('orderId') + "></input>");
|
| 496 |
$("#store-doa-form").append("<input type='hidden' name='ticketId' value=" + $(this).attr('ticketId') + "></input>");
|
496 |
$("#store-doa-form").append("<input type='hidden' name='id' value=" + $(this).attr('ticketId') + "></input>");
|
| 497 |
$("#store-doa-auth").show();
|
497 |
$("#store-doa-auth").show();
|
| 498 |
});
|
498 |
});
|
| 499 |
|
499 |
|
| 500 |
$('#auth-return-button').live('click', function() {
|
500 |
$('#auth-return-button').live('click', function() {
|
| 501 |
$.ajax({
|
501 |
$.ajax({
|