}
if (typeof g.changed[fn] != 'undefined') groupbox.setAttribute('class','copy_editor_field_changed');
caption = document.createElement('caption'); groupbox.appendChild(caption);
- caption.setAttribute('label',fn); caption.setAttribute('id','caption_'+fn);
- vbox = document.createElement('vbox'); groupbox.appendChild(vbox);
+ caption.setAttribute('label',fn);
+ vbox = document.createElement('vbox'); groupbox.appendChild(vbox); // main display widget goes here
grid = util.widgets.make_grid( [ { 'flex' : 1 }, {}, {} ] ); vbox.appendChild(grid);
grid.setAttribute('flex','1');
rows = grid.lastChild;
}
label2.appendChild( document.createTextNode(copy_count) );
}
- var hbox = document.createElement('hbox');
- hbox.setAttribute('id',fn);
+ groupbox.setAttribute('id','groupbox_'+fn); // this id is meant to be referenced by cat_custom.css for hiding fields
+ var hbox = document.createElement('hbox'); // main input controls go here
+ hbox.setAttribute('id',fn); // this id gets used to color areas green, etc.
groupbox.appendChild(hbox);
- var hbox2 = document.createElement('hbox');
+ var hbox2 = document.createElement('hbox'); // cancel/apply buttons go here
groupbox.appendChild(hbox2);
/**************************************************************************************/
<!-- STYLESHEETS -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/cat.css" type="text/css"?>
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- LOCALIZATION -->