aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-06-13 17:22:51 -0500
committerJoe Sak <joe@joesak.com>2011-06-13 17:22:51 -0500
commitb91b381e8eb6e5dc572ea4e53b138caba1a011fa (patch)
treea7f8994e6e1c1c762268b6372ab4c845ed77266b /app/views
parent63ec02d44e3063c2c92e99f13fb7525660d25956 (diff)
downloadrefinerycms-blog-b91b381e8eb6e5dc572ea4e53b138caba1a011fa.tar.gz
refinerycms-blog-b91b381e8eb6e5dc572ea4e53b138caba1a011fa.tar.bz2
refinerycms-blog-b91b381e8eb6e5dc572ea4e53b138caba1a011fa.zip
this functionality exists in refinery, so the double bind makes it scroll right back up
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/blog/posts/_form.js.erb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/admin/blog/posts/_form.js.erb b/app/views/admin/blog/posts/_form.js.erb
index 1c030b4..b829ec2 100644
--- a/app/views/admin/blog/posts/_form.js.erb
+++ b/app/views/admin/blog/posts/_form.js.erb
@@ -1,16 +1,5 @@
<script>
(function($) {
- $(document).ready(function(){
- $('#toggle_advanced_options').click(function(e){
- e.preventDefault();
-
- $('#more_options').animate({opacity: 'toggle', height: 'toggle'}, 250);
-
- $('html,body').animate({
- scrollTop: $('#toggle_advanced_options').parent().offset().top
- }, 250);
- });
- });
$('#page-tabs').tabs();
})(jQuery);
</script>