mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 22:13:31 +00:00
12eebd4322
- 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
17 lines
547 B
JavaScript
Executable File
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);
|
|
}
|