Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_Search
Commits
5b3f0f00
Commit
5b3f0f00
authored
6 years ago
by
Eric Rasmussen
Browse files
Options
Downloads
Patches
Plain Diff
Fix Chrome iOS embed iframe issue
parent
d0e829c8
No related branches found
No related tags found
1 merge request
!18
Fix Chrome iOS embed iframe issue
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
www/index.php
+1
-1
1 addition, 1 deletion
www/index.php
www/js/search.js
+8
-0
8 additions, 0 deletions
www/js/search.js
with
9 additions
and
1 deletion
www/index.php
+
1
−
1
View file @
5b3f0f00
...
...
@@ -26,7 +26,7 @@ function loadDefaultSections($page)
$page
->
affiliation
=
''
;
}
$localScriptUrl
=
'./js/search.min.js?v=
4.1.20
'
;
$localScriptUrl
=
'./js/search.min.js?v=
20190116
'
;
if
(
UNL_Search
::
$mode
===
'debug'
)
{
$pageTemplate
=
'Local'
;
...
...
This diff is collapsed.
Click to expand it.
www/js/search.js
+
8
−
0
View file @
5b3f0f00
...
...
@@ -381,6 +381,14 @@ define(['jquery', 'analytics'], function ($, analytics) {
return
;
}
// Chrome iOS issues a message on touch that is an object with
// oEvent.data.type = 'org.chromium.contextMenuMessage'.
// We will just ignore anything that isn't a string, which is what is
// expected from the parent window with wdntemplates's embedded search.
if
(
typeof
oEvent
.
data
!==
'
string
'
)
{
return
;
}
q
=
$
.
trim
(
oEvent
.
data
);
passiveQuery
(
q
);
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment