Lines Matching refs:groupObj

112 						var groupObj = el._FCK_ListGroupObject ;
113 if ( groupObj )
114 groupObj.contents.push( block ) ;
117 groupObj = { 'root' : el, 'contents' : [ block ] } ; class in FCKListCommand.Execute
118 listGroups.push( groupObj ) ;
119 FCKDomTools.SetElementMarker( markerObj, el, '_FCK_ListGroupObject', groupObj ) ;
135 var groupObj = { 'root' : root, 'contents' : [ block ] } ; class in FCKListCommand.Execute
136 FCKDomTools.SetElementMarker( markerObj, root, '_FCK_ListGroupObject', groupObj ) ;
137 listGroups.push( groupObj ) ;
177 var groupObj = listGroups.shift() ;
180 if ( groupObj.root.nodeName.IEquals( ['ul', 'ol'] ) )
181 this._ChangeListType( groupObj, markerObj, listsCreated ) ;
183 this._CreateList( groupObj, listsCreated ) ;
185 else if ( state == FCK_TRISTATE_ON && groupObj.root.nodeName.IEquals( ['ul', 'ol'] ) )
186 this._RemoveList( groupObj, markerObj ) ;
237 _ChangeListType : function( groupObj, markerObj, listsCreated ) argument
244 var listArray = FCKDomTools.ListToArray( groupObj.root, markerObj ) ;
246 for ( var i = 0 ; i < groupObj.contents.length ; i++ )
248 var itemNode = groupObj.contents[i] ;
255 var fakeParent = groupObj.root.ownerDocument.createElement( this.TagName ) ;
267 groupObj.root.parentNode.replaceChild( newList.listNode, groupObj.root ) ;
270 _CreateList : function( groupObj, listsCreated ) argument
272 var contents = groupObj.contents ;
273 var doc = groupObj.root.ownerDocument ;
279 if ( contents.length == 1 && contents[0] == groupObj.root )
289 var commonParent = groupObj.contents[0].parentNode ;
330 _RemoveList : function( groupObj, markerObj ) argument
334 var listArray = FCKDomTools.ListToArray( groupObj.root, markerObj ) ;
336 for ( var i = 0 ; i < groupObj.contents.length ; i++ )
338 var itemNode = groupObj.contents[i] ;
375 if ( groupObj.root.nextSibling == null || groupObj.root.nextSibling.nodeName.IEquals( 'br' ) )
380 groupObj.root.parentNode.replaceChild( newList.listNode, groupObj.root ) ;