Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
submission report
Commit Description:
submission report
var Announcement = {
mostRecentId : 0 ,
refreshUrl : '/main/announcements' ,
setMostRecentId : function ( id ) {
Announcement . mostRecentId = id ;
},
updateRecentId : function ( id ) {
if ( Announcement . mostRecentId < id )
Announcement . mostRecentId = id ;
},
refreshAnnouncement : function () {
var url = Announcement . refreshUrl ;
new Ajax . Request ( url , {
method : 'get' ,
parameters : { recent : Announcement . mostRecentId },
onSuccess : function ( transport ) {
if (( transport . status == 200 ) &&
( transport . responseText . match ( /\S/ ) != null )) {
var announcementBody = $ ( "announcementbox-body" );
announcementBody . insert ({ top : transport . responseText });
var announcementBoxes = $$ ( ".announcementbox" );
if ( announcementBoxes . length != 0 )
announcementBoxes [ 0 ]. show ();
Announcement . registerRefreshEventTimer ();
}
}
});
},
registerRefreshEventTimer : function () {
setTimeout ( function () {
Announcement . refreshAnnouncement ();
}, 30000 );
}
};
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings