VIVO-541 Add a link on the Site Admin page to activate the developer panel.

This commit is contained in:
j2blake 2013-11-19 16:45:13 -05:00
parent 025f2dd8ec
commit b3c5892679
5 changed files with 19 additions and 4 deletions

View file

@ -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({});
});