~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/javascript/distroseries.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-27 17:04:27 UTC
  • mfrom: (13241.1.12 speedup-yuitest)
  • Revision ID: launchpad@pqm.canonical.com-20110627170427-4b86d3ehcd0n2j10
[r=bac][no-qa] [r=bac][no-qa] Speed up the YUI test suite a bit by
 trimming wait times.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1149
1149
        .superclass.constructor.apply(this, arguments);
1150
1150
};
1151
1151
 
 
1152
FormActionsWidget.ATTRS = {
 
1153
    duration: {
 
1154
        value: 1.0
 
1155
    },
 
1156
 
 
1157
    height: {
 
1158
        value: 0
 
1159
    },
 
1160
 
 
1161
    opacity: {
 
1162
        value: 0
 
1163
    }
 
1164
};
 
1165
 
 
1166
 
1152
1167
Y.mix(FormActionsWidget, {
1153
1168
 
1154
1169
    NAME: 'formActionsWidget',
1256
1271
            .addClass("message")
1257
1272
            .set("text", message);
1258
1273
        var form = this.get("contentBox").ancestor("form");
1259
 
        form.transition(
1260
 
            {duration: 1, height: 0, opacity: 0},
1261
 
            function() { form.remove(true); });
 
1274
        form.transition({
 
1275
            duration: this.get('duration'), height: this.get('height'),
 
1276
            opacity: this.get('opacity')}, function() { form.remove(true); });
1262
1277
        form.insert(messageNode, "after");
1263
1278
    },
1264
1279