From 9a8a42e60947083352eed78a8fea5f92ea5a9a4e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 17 Sep 2017 22:53:18 +0200 Subject: Modals unit tests --- src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/pl') diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt index e2f88e72..708752ea 100644 --- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt +++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt @@ -74,9 +74,9 @@ open class DropDown(text: String, elements: List? = null, icon: Stri } private val idc = "kv_dropdown_" + counter - protected val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block, + internal val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block, disabled, image, setOf("dropdown")) - protected val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu")) + internal val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu")) init { button.setEventListener { -- cgit