Permalink
Please
sign in to comment.
Browse files
Merge remote-tracking branch 'IQSS/develop' into develop
Conflicts: src/main/java/Bundle.properties src/main/webapp/dataset.xhtml src/main/webapp/dataverseuser.xhtml src/main/webapp/editFilesFragment.xhtml
- Loading branch information...
Showing
with
787 additions
and 809 deletions.
- +6 −0 doc/sphinx-guides/source/_static/docsdataverse_org.css
- +30 −3 doc/sphinx-guides/source/_static/dv_rebind_bootstrap_ui.js
- +4 −4 ...-guides/source/_static/installation/files/var/www/dataverse/branding/custom-homepage-dynamic.html
- +6 −0 doc/sphinx-guides/source/_templates/layout.html
- +4 −4 doc/sphinx-guides/source/style/foundations.rst
- +136 −69 doc/sphinx-guides/source/style/patterns.rst
- +2 −1 doc/sphinx_bootstrap_theme/bootstrap/layout.html
- BIN local_lib/net/handle/handle/2006-06-16-generated/handle-2006-06-16-generated.jar
- +0 −1 local_lib/net/handle/handle/2006-06-16-generated/handle-2006-06-16-generated.jar.md5
- +0 −1 local_lib/net/handle/handle/2006-06-16-generated/handle-2006-06-16-generated.jar.sha1
- +0 −1 local_lib/net/handle/handle/2006-06-16-generated/handle-2006-06-16-generated.pom.md5
- +0 −1 local_lib/net/handle/handle/2006-06-16-generated/handle-2006-06-16-generated.pom.sha1
- BIN local_lib/net/handle/handle/8.1.1/handle-8.1.1.jar
- +2 −1 ...net/handle/handle/{2006-06-16-generated/handle-2006-06-16-generated.pom → 8.1.1/handle-8.1.1.pom}
- +1 −1 pom.xml
- +2 −2 src/main/java/Bundle.properties
- +1 −2 src/main/webapp/dashboard.xhtml
- +8 −5 src/main/webapp/dataset-citation.xhtml
- +107 −107 src/main/webapp/dataset-license-terms.xhtml
- +1 −2 src/main/webapp/dataset-versions.xhtml
- +13 −13 src/main/webapp/dataset-widgets.xhtml
- +49 −46 src/main/webapp/dataset.xhtml
- +39 −50 src/main/webapp/dataverse.xhtml
- +37 −37 src/main/webapp/dataverseuser.xhtml
- +20 −25 src/main/webapp/editFilesFragment.xhtml
- +2 −2 src/main/webapp/editdatafiles.xhtml
- +4 −4 src/main/webapp/explicitGroup-new-dialog.xhtml
- +1 −1 src/main/webapp/file-configure-dropdown-fragment.xhtml
- +10 −10 src/main/webapp/file-data-access-fragment.xhtml
- +1 −1 src/main/webapp/file-download-button-fragment.xhtml
- +1 −1 src/main/webapp/file-download-popup-fragment.xhtml
- +1 −1 src/main/webapp/file-request-access-popup-fragment.xhtml
- +1 −2 src/main/webapp/file-versions.xhtml
- +25 −21 src/main/webapp/file.xhtml
- +5 −5 src/main/webapp/filesFragment.xhtml
- +6 −8 src/main/webapp/guestbook.xhtml
- +30 −28 src/main/webapp/harvestclients.xhtml
- +16 −16 src/main/webapp/harvestsets.xhtml
- +4 −6 src/main/webapp/loginpage.xhtml
- +1 −1 src/main/webapp/manage-groups.xhtml
- +4 −4 src/main/webapp/manage-guestbooks.xhtml
- +1 −3 src/main/webapp/manage-templates.xhtml
- +20 −20 src/main/webapp/metadataFragment.xhtml
- +1 −1 src/main/webapp/mydata_fragment.xhtml
- +0 −1 src/main/webapp/oauth2/convert.xhtml
- +28 −23 src/main/webapp/oauth2/firstLogin.xhtml
- +2 −3 src/main/webapp/package-download-popup-fragment.xhtml
- +3 −3 src/main/webapp/permissions-manage-files.xhtml
- +3 −3 src/main/webapp/permissions-manage.xhtml
- +4 −3 src/main/webapp/resources/css/structure.css
- +36 −143 src/main/webapp/resources/js/dv_rebind_bootstrap_ui.js
- +1 −1 src/main/webapp/roles-assign.xhtml
- +12 −12 src/main/webapp/roles-edit.xhtml
- +1 −1 src/main/webapp/search-include-fragment.xhtml
- +42 −42 src/main/webapp/search/advanced.xhtml
- +6 −13 src/main/webapp/subset/gui_subset.xhtml
- +6 −9 src/main/webapp/template.xhtml
- +3 −3 src/main/webapp/termsofuse.xhtml
- +38 −38 src/main/webapp/themeAndWidgetsFragment.xhtml
@@ -1,4 +1,31 @@ | |||
function bind_tooltip(){ | |||
// bind tooltips to all necessary elements | |||
$("a.bootstrap-button-tooltip").tooltip({container: 'body'}); | |||
function bind_bsui_components(){ | |||
bind_tooltip_popover(); | |||
} | |||
|
|||
function bind_tooltip_popover(){ | |||
// bind tooltips + popovers to all necessary elements | |||
$jqTheme(".bootstrap-button-tooltip, [data-toggle='tooltip']").tooltip({container: 'body'}); | |||
$jqTheme("[data-toggle='popver']").popover({container: 'body'}); | |||
|
|||
// CLOSE OPEN TOOLTIPS + POPOVERS ON BODY CLICKS | |||
$jqTheme('body').on("touchstart", function(e){ | |||
$jqTheme(".bootstrap-button-tooltip, [data-toggle='tooltip']").each(function () { | |||
// hide any open tooltips when anywhere else in body is clicked | |||
if (!$jqTheme(this).is(e.target) && $jqTheme(this).has(e.target).length === 0 && $jqTheme('div.tooltip').has(e.target).length === 0) { | |||
$jqTheme(this).tooltip('hide'); | |||
}////end if | |||
}); | |||
$jqTheme("a.popoverHTML, [data-toggle='popover']").each(function () { | |||
//the 'is' for buttons that trigger popups | |||
//the 'has' for icons within a button that triggers a popup | |||
if (!$jqTheme(this).is(e.target) && $jqTheme(this).has(e.target).length === 0 && $jqTheme('div.popover').has(e.target).length === 0) { | |||
$jqTheme(this).popover('hide'); | |||
} | |||
}); | |||
}); | |||
|
|||
// CLOSE OPEN TOOLTIPS ON BUTTON CLICKS | |||
$jqTheme('.bootstrap-button-tooltip').on('click', function () { | |||
$jqTheme(this).tooltip('hide'); | |||
}); | |||
} |
Oops, something went wrong.
0 comments on commit
16dca96