autoCoreFields="true"
autoCoreFieldsFilter="true"
autoCoreFieldsUnsorted="true"
+ savedFiltersInterface="'url_verify'"
fetchLock="true"
mapExtras="{attempt_id:{path:'attempt.id',filter:true,_label:'[% l("Attempt ID") %]'}}"
showLoadFilter="true"
dojo.declare(
"openils.widget.FlattenerFilterDialog", [
dijit.Dialog, openils.widget.FlattenerFilterPane
- ]
+ ], {
+ "constructor": function() {
+ dojo.connect(
+ this, "postCreate", this,
+ function() {
+ /* Of course I don't *want* to hardcode 400px below,
+ * but without some kind of maxHeight, this dialog
+ * can just grow forever, until it's no longer
+ * possible to access the close button on the top or
+ * the buttons at the bottom. */
+ dojo.style(
+ this.domNode, {
+ "maxHeight": "400px", "overflow": "auto"
+ }
+ );
+ }
+ );
+ }
+ }
);
}
var widg = new constr({
"fmClass": this.selected_field_fm_class,
"fmField": this.selected_field_fm_field,
+ "noDisablePkey": true,
"parentNode": dojo.create("span", {}, this.value_slot),
"dijitArgs": {"scrollOnFocus": false}
});