comparison static/js/agora.js @ 208:a22259c9862e

Removed redundant code for ratings field and add a separate template file for ratings field. Now ratings will be handled by Jquery.
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Wed, 21 Aug 2013 03:52:06 +0500
parents 134f726fd62c
children
comparison
equal deleted inserted replaced
207:d534881629ff 208:a22259c9862e
78 78
79 $('.snippet').removeClass(currentStyle).addClass(newStyle); 79 $('.snippet').removeClass(currentStyle).addClass(newStyle);
80 currentStyle = newStyle; 80 currentStyle = newStyle;
81 }); 81 });
82 }); 82 });
83 $("input[name=Rate]").change(function()
84 {
85 $("#rate_form").submit();
86 });
83 } 87 }
84 )(jQuery); 88 )(jQuery);