summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-07-28 16:09:48 +0200
committerAndras Timar <andras.timar@collabora.com>2020-07-28 16:09:48 +0200
commit10b9ba1bcbe7087bc2e7b338d4e35130b1f5c873 (patch)
treeef076ffd2f19ed43683df4e87406fe6e34afd85f
parent43942c3bca8f0313ad2d4ef097bb9d8fd7601c09 (diff)
Change-Id: Iaa28803be627db8915e7f426b400ac3b26e7b3a2
-rw-r--r--help3xsl/online_transform.xsl7
1 files changed, 5 insertions, 2 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 849a77f2e1..9e7e376f71 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -225,8 +225,11 @@
<xsl:if test="$online">
<xsl:if test="$xapian='yes'">
<div class="xapian-omega-search">
- <form name="P" method="get" action="/{$productversion}/{$lang}/search" target="_top">
- <input id="omega-autofocus" type="search" name="P"/>
+ <form name="P" method="get" action="/cgi-bin/omega/omega" target="_top">
+ <input type="hidden" name="DB" value="{$lang}64"/>
+ <input type="hidden" name="FMT" value="cp-query"/>
+ <input type="hidden" name="DEFAULTOP" value="and"/>
+ <input id="omega-autofocus" type="search" name="P" size="65"/>
<input type="submit" class="xapian-omega-search-button" value="&#x1f50d;"/>
</form>
</div>
libreoffice-5-0-2'>libreoffice-5-0-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2024-06-03 11:08:52 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2024-06-03 20:22:23 +0200
commitb8a89b3356275e95e3fc78c79f55a209f8056556 (patch)
tree8812f1ac3d6350f3d1dbccb3dff6d2e593a77126
parent782f7c23af25187b9205e7ca036cb819834be2df (diff)
tdf#69724 Disable 'Change Bullet' btn until selection exists
Change-Id: I9c1fdeb4423a8fe45121ff58097582dcccdd12ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168359 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat
-rw-r--r--cui/source/tabpages/numpages.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 343b0ce9c7f0..c0495541ca61 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -330,6 +330,7 @@ SvxBulletPickTabPage::SvxBulletPickTabPage(weld::Container* pPage, weld::DialogC
, m_xExamplesVSWin(new weld::CustomWeld(*m_xBuilder, u"valueset"_ustr, *m_xExamplesVS))
{
SetExchangeSupport();
+ m_xBtChangeBullet->set_sensitive(false);
m_xExamplesVS->init(NumberingPageType::BULLET);
m_xExamplesVS->SetSelectHdl(LINK(this, SvxBulletPickTabPage, NumSelectHdl_Impl));
m_xExamplesVS->SetDoubleClickHdl(LINK(this, SvxBulletPickTabPage, DoubleClickHdl_Impl));
@@ -426,6 +427,8 @@ IMPL_LINK_NOARG(SvxBulletPickTabPage, NumSelectHdl_Impl, ValueSet*, void)
if(!pActNum)
return;
+ m_xBtChangeBullet->set_sensitive(true);
+
bPreset = false;
bModified = true;
sal_uInt16 nIndex = m_xExamplesVS->GetSelectedItemId() - 1;