gecko-dev/webtools/litmus/js/RunTests.js
ccooper%deadsquid.com 12eebd4322 - renamed edit_categories.cgi to manage_categories.cgi for consistency's sake
- added json calls to return various categories
- added FormWidget calls branches and opsyses
- removed product references in FormWidget lookup for platforms
- added Essential column designation to Platform, Branch and Opsys
- added delete functions to Platform
- added delete functions to Product
- updated moo.fx js libraries to latest version (1.0->1.2)
- updated js code that relied on out-of-date moo.fx functions. In all cases, this code got simpler cleaner.
- removed moo.fx inclusions where they weren't being used
- updated category management templates to use MochiKit/JSON rather than homegrown AJAX
- added new widget for selecting branch, platform, and opsys by ID
- fixed naming on show all/hide all links on testcase display (run tests)
- jump to testcase when selecting a testcase from the sidebar (run tests)
- enabled "Manage Categories" in the admin sidebar
2006-07-14 17:47:33 +00:00

17 lines
547 B
JavaScript
Executable File

function tc_init() {
var divs = document.getElementsByClassName("testcase-content");
allStretch = new fx.MultiFadeSize(divs, {height: true, opacity: true, duration: 400});
allStretch.hideAll();
testConfigHeight = new fx.Height('testconfig', {duration: 400});
testConfigHeight.toggle();
allStretch.fxa[0].toggle();
}
function confirmPartialSubmission() {
msg = "Did you intend to only submit a single test result? (Hint: There is a 'Submit All Results' button at the bottom of the page.)";
return confirm(msg);
}