? 928566.patch
Index: plugins/sweaver_plugin_editor/sweaver_plugin_editor.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/sweaver/plugins/sweaver_plugin_editor/sweaver_plugin_editor.js,v
retrieving revision 1.1.2.50
diff -u -p -r1.1.2.50 sweaver_plugin_editor.js
--- plugins/sweaver_plugin_editor/sweaver_plugin_editor.js	30 Sep 2010 15:26:08 -0000	1.1.2.50
+++ plugins/sweaver_plugin_editor/sweaver_plugin_editor.js	1 Oct 2010 12:14:38 -0000
@@ -273,7 +273,9 @@ Drupal.Sweaver.addSliders = function() {
   });
 
   $("#sweaver .slider-value").click(function() {
+    Drupal.Sweaver.updateMode = false;
     $(this).siblings('.slider-wrapper').children().slider("moveTo", $(this).val());
+    Drupal.Sweaver.updateMode = true;
   });
 
   $("#sweaver .slider").each(function() {
@@ -390,7 +392,7 @@ Drupal.Sweaver.bindClicks = function() {
       object = Drupal.Sweaver.buildSweaverObject(tempObject);
 
        // If the clicked object is a link, or an element in a link, prevent default behavior.
-       $('#follow-link').hide();       
+       $('#follow-link').hide();
        if(object.tag == 'a' || tempObject.parents('a').length > 0) {
          var position = tempObject.offset();
          var clickObject = tempObject;
@@ -399,8 +401,8 @@ Drupal.Sweaver.bindClicks = function() {
          }
          if (object.id != 'follow-link') {
            $('#follow-link').attr('href', clickObject.attr('href')).css({'top' : position.top + clickObject.outerHeight() + 5, 'left': position.left}).fadeIn();
-           event.preventDefault(); 
-         } 
+           event.preventDefault();
+         }
        }
 
       // Don't do anything if the clicked object is the 'follow-link' link.
@@ -416,7 +418,7 @@ Drupal.Sweaver.bindClicks = function() {
 	          }
 	        });
 	      }
-	
+
 	      // clear the old paths.
 	      $('#sweaver_plugin_editor .sweaver-header').html('<div id="full-path" class="clear-block"></div><div id="selected-path" class="clear-block"></div>');
 
@@ -425,7 +427,7 @@ Drupal.Sweaver.bindClicks = function() {
           Drupal.Sweaver.ChangesBox(true);
           Drupal.Sweaver.changesboxcheck = true;
         }
-        
+
         // Reset some values.
         Drupal.Sweaver.path.length = 0;
         Drupal.Sweaver.pathIndexes.length = 0;
@@ -492,11 +494,11 @@ Drupal.Sweaver.updateScreen = function()
     $('.sweaver-clicked').removeClass('sweaver-clicked');
     if (Drupal.Sweaver.activePath && $(Drupal.Sweaver.activePath).outerWidth() != $(window).width()) {
       $(Drupal.Sweaver.activePath).filter(':parents(' + excludes + '):not(' + excludes + ')').addClass('sweaver-clicked');
-    } 
+    }
     else {
       // Hide the 'clicked' outlines.
-      $('.sweaver-clicked').removeClass('sweaver-clicked');  
-    }  
+      $('.sweaver-clicked').removeClass('sweaver-clicked');
+    }
   }
 }
 
