Added Sendgrid details for production

This commit is contained in:
saurabhbhatia 2013-12-02 10:42:12 +08:00
parent 9defe109fd
commit 685f696536
1 changed files with 5 additions and 3 deletions

View File

@ -262,17 +262,19 @@ delete locales;
<script type="text/javascript"> <script type="text/javascript">
$(".language-nav li a").click(function(){window.location.hash = $(this).attr("href")}) $(".language-nav li a").click(function(){window.location.hash = $(this).attr("href")})
</script>> </script>>
<% content_for :page_specific_javascript do %>
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
$(document).on('change', '.reset_default_locale', function(){ $(document).on('change', '.reset_default_locale', function(){
var control_group = $(this).closest(".control-group").parent().find(".control-group:eq(2)"); var control_group = $(this).closest(".control-group").parent().find(".control-group:eq(2)");
if ( $(this).is(":checked") ){ if ( $(this).is(":checked") ){
control_group.find(".togglebox").addClass("disabled"); control_group.find(".togglebox").addClass("disabled");
control_group.find("input[type=radio]").removeAttr("checked"); control_group.find("input[type=radio]").removeAttr("checked");
} }
}); });
}); });
</script> </script>
<% end %>
<script type="text/javascript"> <script type="text/javascript">
$(function() { $(function() {
$('a[data-toggle="tab"]').on('click', function (e) { $('a[data-toggle="tab"]').on('click', function (e) {