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

@@ 119-120 (lines=2) @@
116
	 * @see BaseHtml::run()
117
	 */
118
	public function run(JsUtils $js) {
119
		if (isset($this->_bsComponent) === false)
120
			$this->_bsComponent=$js->semantic()->progress("#" . $this->identifier, $this->_params);
121
		$this->addEventsOnRun($js);
122
		return $this->_bsComponent;
123
	}