Code Duplication    Length = 2-2 lines in 2 locations

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
		}

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

@@ 96-97 (lines=2) @@
93
	 * @see BaseHtml::run()
94
	 */
95
	public function run(JsUtils $js) {
96
		if (isset($this->_bsComponent) === false)
97
			$this->_bsComponent=$js->semantic()->progress("#" . $this->identifier, $this->_params);
98
		$this->addEventsOnRun($js);
99
		return $this->_bsComponent;
100
	}