This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
'use strict'; | |
// http://learn.jquery.com/plugins/basic-plugin-creation/ | |
// http://learn.jquery.com/plugins/advanced-plugin-concepts/ | |
$.fn.scrollTree = function (options) { | |
var DEFAULT_OPTIONS = { | |
'contextPath': '/', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this in a com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase to install a license in Confluence: | |
static boolean isLicenseInstalled = false; | |
private void installLicense() { | |
if (!isLicenseInstalled) { | |
gotoPage("/admin/license.action"); | |
setWorkingForm("updateLicenseForm"); | |
setTextField("licenseString", LICENSE); | |
submit("update"); |