'use strict'; // Tests that resubmitting the monitor form for a field that changes the form's // shape comes back on the tab you were working in. // // Two files have to agree for that to happen, so both are loaded into one // sandbox, as a page has them: // // monitor.js keeps contentForm's hidden "tab" field in step with the pill // that is showing. // skin.js submitTab() resubmits the form without saving, and the view // reads that field to decide which tab to render. // // submitTab() used to do form.attr('tab', tab), which set an attribute named // "tab" on the