Changeset 5700 for trunk/prototype/modules
- Timestamp:
- 03/12/12 09:54:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/followupflag.js
r5697 r5700 29 29 } 30 30 } 31 32 33 31 34 32 function init_followup(data){ … … 420 418 caption: {singular:'Você tem uma mensagem concluindo hoje:', plural:"Você tem %1 mensagens concluindo hoje:"}, 421 419 onOk: function(event){ 422 if($(event.target).parents('.followupflag-alarm').find('[name="stopAlert"]').is(':checked')){ 420 if($(event.target).parents('.doneDeadline').find('[name="stopAlert"]').is(':checked')){ 421 423 422 $.cookie("fadeCompleted", (new Date).toString("dd/MM/yyyy"), { expires: 1 }); 424 423 } … … 427 426 }, 428 427 { 429 attrDeadline: 'alarmDeadline', 428 attrDeadline: 'alarmDeadline', 430 429 caption: {singular:'Você tem uma mensagem sinalizada para hoje:', plural:'Você tem %1 mensagens sinalizadas para hoje:'}, 431 430 onOk: function(event){ 432 if($(event.target).parents('. followupflag-alarm').find('[name="stopAlert"]').is(':checked')){431 if($(event.target).parents('.alarmDeadline').find('[name="stopAlert"]').is(':checked')){ 433 432 $.cookie("fadeAlarm", (new Date).toString("dd/MM/yyyy"), { expires: 1 }); 434 433 } … … 465 464 */ 466 465 offsetHeight = !offsetHeight ? 35 : offsetHeight + 20 ; 466 467 467 var dialog = new $.Zebra_Dialog(dialogText, { 468 468 'buttons': ['Ok'], … … 470 470 'vcenter_short_message': false, 471 471 'position': ['right - 20', 'bottom - ' + offsetHeight.toString() ], 472 'custom_class': 'right-bottom followupflag-alarm ',472 'custom_class': 'right-bottom followupflag-alarm '+ it.attrDeadline, 473 473 }).dialog; 474 474 475 475 $(".ZebraDialog.followupflag-alarm .ZebraDialog_Button0").click(it.onOk); 476 476
Note: See TracChangeset
for help on using the changeset viewer.