2014-05-21 19:30:49 +08:00
|
|
|
<% selector = ".#{applied_css(@project)}" %>
|
|
|
|
$("<%= selector %>").each(function(){$(this).replaceWith("<%= escape_javascript applied_link(@project, User.current) %>")});
|
2014-05-22 15:33:38 +08:00
|
|
|
if (window.Messenger) {
|
|
|
|
Messenger.options = {
|
|
|
|
extraClasses: 'messenger-fixed messenger-on-bottom messenger-on-right',
|
|
|
|
theme: 'flat'
|
|
|
|
}
|
|
|
|
Messenger().post({
|
|
|
|
id: "label_apply_project_waiting",
|
|
|
|
message: "<%= l(:label_apply_project_waiting) %>",
|
|
|
|
showCloseButton: true,
|
|
|
|
});
|
|
|
|
};
|