From 327afcfaff1e8cd1707e1777425429643bfdc7d6 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 24 Jan 2019 13:25:36 +0300 Subject: [PATCH] FIx Bug 40306 --- .../main/resources/help/de/search/search.html | 9 ++++++--- .../main/resources/help/en/search/search.html | 9 ++++++--- .../main/resources/help/es/search/search.html | 9 ++++++--- .../main/resources/help/fr/search/search.html | 9 ++++++--- .../main/resources/help/ru/search/search.html | 9 ++++++--- .../main/resources/help/de/search/search.html | 9 ++++++--- .../main/resources/help/en/search/search.html | 9 ++++++--- .../main/resources/help/es/search/search.html | 9 ++++++--- .../main/resources/help/fr/search/search.html | 9 ++++++--- .../main/resources/help/ru/search/search.html | 9 ++++++--- .../main/resources/help/de/search/search.html | 9 ++++++--- .../main/resources/help/en/search/search.html | 9 ++++++--- .../main/resources/help/es/search/search.html | 9 ++++++--- .../main/resources/help/fr/search/search.html | 9 ++++++--- .../main/resources/help/ru/search/search.html | 9 ++++++--- 15 files changed, 90 insertions(+), 45 deletions(-) diff --git a/apps/documenteditor/main/resources/help/de/search/search.html b/apps/documenteditor/main/resources/help/de/search/search.html index b5c8869af..80906ec81 100644 --- a/apps/documenteditor/main/resources/help/de/search/search.html +++ b/apps/documenteditor/main/resources/help/de/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/documenteditor/main/resources/help/en/search/search.html b/apps/documenteditor/main/resources/help/en/search/search.html index 97576e91e..9efeae6f4 100644 --- a/apps/documenteditor/main/resources/help/en/search/search.html +++ b/apps/documenteditor/main/resources/help/en/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/documenteditor/main/resources/help/es/search/search.html b/apps/documenteditor/main/resources/help/es/search/search.html index 318efd8e2..5ecef254f 100644 --- a/apps/documenteditor/main/resources/help/es/search/search.html +++ b/apps/documenteditor/main/resources/help/es/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/documenteditor/main/resources/help/fr/search/search.html b/apps/documenteditor/main/resources/help/fr/search/search.html index ac32537c0..4dc05a3f9 100644 --- a/apps/documenteditor/main/resources/help/fr/search/search.html +++ b/apps/documenteditor/main/resources/help/fr/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/documenteditor/main/resources/help/ru/search/search.html b/apps/documenteditor/main/resources/help/ru/search/search.html index 12e867c23..e49d47f87 100644 --- a/apps/documenteditor/main/resources/help/ru/search/search.html +++ b/apps/documenteditor/main/resources/help/ru/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/presentationeditor/main/resources/help/de/search/search.html b/apps/presentationeditor/main/resources/help/de/search/search.html index b5c8869af..80906ec81 100644 --- a/apps/presentationeditor/main/resources/help/de/search/search.html +++ b/apps/presentationeditor/main/resources/help/de/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/presentationeditor/main/resources/help/en/search/search.html b/apps/presentationeditor/main/resources/help/en/search/search.html index 97576e91e..9efeae6f4 100644 --- a/apps/presentationeditor/main/resources/help/en/search/search.html +++ b/apps/presentationeditor/main/resources/help/en/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/presentationeditor/main/resources/help/es/search/search.html b/apps/presentationeditor/main/resources/help/es/search/search.html index 318efd8e2..5ecef254f 100644 --- a/apps/presentationeditor/main/resources/help/es/search/search.html +++ b/apps/presentationeditor/main/resources/help/es/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/presentationeditor/main/resources/help/fr/search/search.html b/apps/presentationeditor/main/resources/help/fr/search/search.html index ac32537c0..4dc05a3f9 100644 --- a/apps/presentationeditor/main/resources/help/fr/search/search.html +++ b/apps/presentationeditor/main/resources/help/fr/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/presentationeditor/main/resources/help/ru/search/search.html b/apps/presentationeditor/main/resources/help/ru/search/search.html index 12e867c23..e49d47f87 100644 --- a/apps/presentationeditor/main/resources/help/ru/search/search.html +++ b/apps/presentationeditor/main/resources/help/ru/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/spreadsheeteditor/main/resources/help/de/search/search.html b/apps/spreadsheeteditor/main/resources/help/de/search/search.html index b5c8869af..80906ec81 100644 --- a/apps/spreadsheeteditor/main/resources/help/de/search/search.html +++ b/apps/spreadsheeteditor/main/resources/help/de/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/spreadsheeteditor/main/resources/help/en/search/search.html b/apps/spreadsheeteditor/main/resources/help/en/search/search.html index 97576e91e..9efeae6f4 100644 --- a/apps/spreadsheeteditor/main/resources/help/en/search/search.html +++ b/apps/spreadsheeteditor/main/resources/help/en/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/spreadsheeteditor/main/resources/help/es/search/search.html b/apps/spreadsheeteditor/main/resources/help/es/search/search.html index 318efd8e2..5ecef254f 100644 --- a/apps/spreadsheeteditor/main/resources/help/es/search/search.html +++ b/apps/spreadsheeteditor/main/resources/help/es/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/spreadsheeteditor/main/resources/help/fr/search/search.html b/apps/spreadsheeteditor/main/resources/help/fr/search/search.html index ac32537c0..4dc05a3f9 100644 --- a/apps/spreadsheeteditor/main/resources/help/fr/search/search.html +++ b/apps/spreadsheeteditor/main/resources/help/fr/search/search.html @@ -5,6 +5,7 @@ + @@ -89,7 +90,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -123,7 +125,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -133,7 +135,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append( diff --git a/apps/spreadsheeteditor/main/resources/help/ru/search/search.html b/apps/spreadsheeteditor/main/resources/help/ru/search/search.html index 12e867c23..e49d47f87 100644 --- a/apps/spreadsheeteditor/main/resources/help/ru/search/search.html +++ b/apps/spreadsheeteditor/main/resources/help/ru/search/search.html @@ -5,6 +5,7 @@ + @@ -90,7 +91,8 @@ info.title.slice(position[0], position[0] + position[1]), "", info.title.slice(position[0] + position[1]) - ].join('') + ].join(''), + onclick: "onhyperlinkclick(this)" }) ) .append($('

').text(info.body.substring(0, 250) + "...")) @@ -124,7 +126,7 @@ } if (commonLength > 450 && sentenceCount > 2) { - displayBody = displayBody.substring(0, 450) + "..." + displayBody = displayBody.substring(0, 450) + "..."; return false; } }); @@ -134,7 +136,8 @@ .append( $('', { href: "../" + result.ref, - html: info.title.substring(0, 150) + html: info.title.substring(0, 150), + onclick: "onhyperlinkclick(this)" }) ) .append(