forked from saurabh/orbit4-5
a small fix for locales for ajax
This commit is contained in:
parent
067f7b18e5
commit
0e2bd7b71f
|
@ -7,10 +7,10 @@
|
|||
"type" : "get",
|
||||
"dataType" : "html",
|
||||
"data" : {"sub_part_id" : $("#annoucement_link_widget").data("subpart-id")},
|
||||
"url" : "/xhr/announcement_link_widget/content"
|
||||
"url" : "/<%= I18n.locale.to_s %>/xhr/announcement_link_widget/content"
|
||||
}).done(function(data){
|
||||
$("#annoucement_link_widget").html(data);
|
||||
bindHandlers()
|
||||
bindHandlers();
|
||||
})
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue