# HG changeset patch # User gibus # Date 1315489291 -7200 # Node ID 7d05535e143b837889343f10b3a88f0c32dc8fc1 # Parent 5e4c48c6f942c051de28f44137da24783e2408c8 commit c_client.min.js (compressed version of previous commits with scripts/compressjs.py). diff -r 5e4c48c6f942 -r 7d05535e143b src/cm/media/js/client/c_client-min.js --- a/src/cm/media/js/client/c_client-min.js Thu Sep 08 15:24:06 2011 +0200 +++ b/src/cm/media/js/client/c_client-min.js Thu Sep 08 15:41:31 2011 +0200 @@ -1,1 +1,1 @@ -_afterDlg=function(d){var a=d[0];var c=d[1];var b=d[2];a.call(c,b);};_abortNewCommentConfirmed=function(a){if(isICommentFormVisible()){if(gLayout.isInFrame()){gSync.hideICommentForm({fn:function(){_afterDlg(a);}});gSync.resume();}}};_abortNewReplyConfirmed=function(a){if(gNewReplyHost!=null){if(gLayout.isInFrame()){cancelNewReplyForm();_afterDlg(a);}}};_abortNewEditConfirmed=function(a){if(gEditICommentHost!=null){if(gLayout.isInFrame()){cancelEditForm();_afterDlg(a);}}};checkForOpenedDialog=function(e,b,d,c){var a=[];if(e!=null){a=CY.Array.map(gDb.getThreads([gDb.getComment(e.commentId)]),function(f){return f.id;});}if(isICommentFormVisible()||(gNewReplyHost!=null&&(e==null||CY.Array.indexOf(a,gNewReplyHost.commentId)!=-1))||(gEditICommentHost!=null&&(e==null||CY.Array.indexOf(a,gEditICommentHost.commentId)!=-1))){if(gLayout.isInFrame()){if(isICommentFormVisible()){parent.f_yesNoDialog(gettext("New comment will be canceled, continue?"),gettext("Warning"),null,null,null,_abortNewCommentConfirmed,this,[b,d,c]);}else{if(gNewReplyHost!=null){parent.f_yesNoDialog(gettext("Started reply will be canceled, continue?"),gettext("Warning"),null,null,null,_abortNewReplyConfirmed,this,[b,d,c]);}else{if(gEditICommentHost!=null){parent.f_yesNoDialog(gettext("Started comment edition will be canceled, continue?"),gettext("Warning"),null,null,null,_abortNewEditConfirmed,this,[b,d,c]);}}}}}else{b.call(d,[]);}};IComment=function(){this.commentId=null;var l=gLayout.getTopICommentsWidth();var a=gConf.iCommentLeftPadding;var r=gettext("change comment state to pending");var n=gettext("change comment state to approved");var e=gettext("change comment state to unapproved");var q=gettext("cancel changing the state of this comment");var c=gettext("pending");var d=gettext("approved");var m=gettext("unapproved");var b=gettext("cancel");var p=gettext("show replies");var s=gettext("change to:");var i=ngettext("reply","replies",1);var g=gettext("edit comment");var j=gettext("delete comment");var o=gettext("edit");var f=gettext("delete");var k=gettext("close");var h=gettext("show scope");var t=gettext("Comment is detached: it was created on a previous version and text it applied to has been modified or removed.");this.overlay=new CY.Overlay({zIndex:3,shim:false,visible:false,width:l,xy:[a,0],headerContent:'
| '+gettext("Text")+' | ||
| '+gettext("Authors")+' | '+gettext("States")+' | |||||
| '+gettext("Dates")+' | '+gettext("Tags")+' |
| ('+gettext("filter:")+' / /) | , '+gettext("browse by:")+' | ![]() ![]() | -/ | ![]() ![]() | ![]() | ![]() | ![]() |
| "+gettext("Text style")+' |
| '+gettext("Animation duration")+' | ||
| '+gettext("(0.001 to 1 second)")+" |
| '+gettext("Text")+' | ||
| '+gettext("Authors")+' | '+gettext("States")+' | |||||
| '+gettext("Dates")+' | '+gettext("Tags")+' |
| ('+gettext("filter:")+' / /) | , '+gettext("browse by:")+' | ![]() ![]() | -/ | ![]() ![]() | ![]() | ![]() | ![]() |
| "+gettext("Text style")+' |
| '+gettext("Animation duration")+' | ||
| '+gettext("(0.001 to 1 second)")+" |