You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/04/02 15:07:24 UTC
svn commit: r1670900 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js
Author: humbedooh
Date: Thu Apr 2 13:07:24 2015
New Revision: 1670900
URL: http://svn.apache.org/r1670900
Log:
css and js fix
Modified:
steve/trunk/pysteve/www/htdocs/js/steve_rest.js
Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1670900&r1=1670899&r2=1670900&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Thu Apr 2 13:07:24 2015
@@ -177,8 +177,8 @@ function displayTally(code, response, is
var pre = document.createElement('pre')
pre.innerHTML = response.debug.join("\n")
pre.setAttribute("id", "debug_" + issue)
- pre.setAttribute("style", "display: hidden")
- obj.innerHTML += "<a href=\"javascript:void(document.getElementById('debug_" + issue + "').style.display = 'visible');\">Show debug</a>"
+ pre.setAttribute("style", "visibility: hidden; border: 1px dotted #666; background: #FFE;")
+ obj.innerHTML += "<a href=\"javascript:void(document.getElementById('debug_" + issue + "').style.visibility = 'visible');\">Show debug</a>"
obj.appendChild(pre)
}
}