Code Duplication    Length = 2-2 lines in 2 locations

Ajax/semantic/html/modules/HtmlAccordion.php 1 location

@@ 37-38 (lines=2) @@
34
	 * @see BaseHtml::run()
35
	 */
36
	public function run(JsUtils $js) {
37
		if(isset($this->_bsComponent)===false)
38
			$this->_bsComponent=$js->semantic()->accordion("#".$this->identifier,$this->params);
39
			$this->addEventsOnRun($js);
40
			return $this->_bsComponent;
41
	}

Ajax/semantic/html/modules/HtmlDropdown.php 1 location

@@ 192-193 (lines=2) @@
189
	 */
190
	public function run(JsUtils $js) {
191
		if($this->propertyContains("class", "simple")===false){
192
			if(isset($this->_bsComponent)===false)
193
				$this->_bsComponent=$js->semantic()->dropdown("#".$this->identifier,$this->params);
194
			$this->addEventsOnRun($js);
195
			return $this->_bsComponent;
196
		}