src/cm/media/js/client/c_sync.js
changeset 15 6ed2af5ab085
parent 12 f69ff46d3240
child 17 a4be0b8a905d
equal deleted inserted replaced
14:163235081173 15:6ed2af5ab085
   125 					this._hideNewReplyForm() ;
   125 					this._hideNewReplyForm() ;
   126 				
   126 				
   127 				if ("ask_for_notification" in ret) {  
   127 				if ("ask_for_notification" in ret) {  
   128 					if (ret['ask_for_notification']) {
   128 					if (ret['ask_for_notification']) {
   129 						// TODO ask for notification ...or use AUTO_CONTRIB ?
   129 						// TODO ask for notification ...or use AUTO_CONTRIB ?
   130 						parent.f_yesNoDialog(gettext("Do you wan to subscribe to all replies notifications in discussions where you have participated?"), gettext("Warning"), null, null, null, 
   130 						parent.f_yesNoDialog(gettext("Do you want to subscribe to all replies notifications in discussions you participated in?"), gettext("Follow up"), null, null, null, 
   131 							function() { // special case : no waiting for the return, no error check, nothing !
   131 							function() { // special case : no waiting for the return, no error check, nothing !
   132 									var cfg = {
   132 									var cfg = {
   133 									method: "POST", 
   133 									method: "POST", 
   134 									data: urlEncode({'fun':'ownNotify', 'key':sv_key, 'email':ret['email']}) 
   134 									data: urlEncode({'fun':'ownNotify', 'key':sv_key, 'email':ret['email']}) 
   135 								} ; 
   135 								} ;