width changes in section page
This commit is contained in:
		
							parent
							
								
									957d4eaebb
								
							
						
					
					
						commit
						7479a64c95
					
				|  | @ -299,14 +299,15 @@ var orbitDesktop = function(dom){ | |||
| 	this.initializeSectionsManager = function(target){ | ||||
| 		o.currenthtml = target; | ||||
| 		o.currentface = "sections"; | ||||
| 		var elementParent,element,groupWrapperWidth; | ||||
| 		var elementParent,element; | ||||
| 		var bindHandlers = function(){ | ||||
| 			var groupWrapperWidth = 0; | ||||
| 			$("div#sections .group").width(400); | ||||
| 				$("div#sections .group").each(function(){groupWrapperWidth+=$(this).width();}) | ||||
| 				groupWrapperWidth+=200; | ||||
| 				groupWrapperHeight = $(".group").height() + 20; | ||||
| 			//	groupWrapperHeight = (groupWrapperHeight > ($(window).height()-extraspace))? $(window).height()-extraspace:groupWrapperHeight;
 | ||||
| 				$("div#sections #group_wrapper").css("width",groupWrapperWidth); | ||||
| 			alert(groupWrapperWidth); | ||||
| 				$("#group_wrapper").width(groupWrapperWidth); | ||||
| 			$("div#sections #group_wrapper .to_drop").sortable({ | ||||
| 				start:function(){ | ||||
| 					var $elementParent = $(this).parent().parent(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue