VIVO-541 Add a link on the Site Admin page to activate the developer panel.
This commit is contained in:
parent
025f2dd8ec
commit
b3c5892679
5 changed files with 19 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
function DeveloperPanel(developerAjaxUrl) {
|
||||
this.setupDeveloperPanel = updateDeveloperPanel;
|
||||
|
||||
function updateDeveloperPanel(data) {
|
||||
function DeveloperPanel(developerAjaxUrl) {
|
||||
this.setupDeveloperPanel = updateDeveloperPanel;
|
||||
|
||||
function updateDeveloperPanel(data) {
|
||||
$.ajax({
|
||||
url: developerAjaxUrl,
|
||||
dataType: "json",
|
||||
|
@ -79,3 +79,4 @@
|
|||
$(document).ready(function() {
|
||||
new DeveloperPanel(developerAjaxUrl).setupDeveloperPanel({});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue