~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/javascript/requestbuild_overlay.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-24 14:50:26 UTC
  • mfrom: (13776.1.1 devel-rollback-13766)
  • Revision ID: launchpad@pqm.canonical.com-20110824145026-uy68vw9fjv2kqgog
[r=henninge][rollback=13766] Rollback r13766 because it breaks js
 code by referencing an unavailable module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
            },
210
210
            data: qs
211
211
        };
212
 
        var io_provider = Y.lp.testing.mockio.io_provider_config(config);
213
 
        io_provider.io(submit_url, y_config);
 
212
        var io = Y.io;
 
213
        if ( config !== undefined && Y.Lang.isValue(config.io)) {
 
214
            io = config.io;
 
215
        }
 
216
        io(submit_url, y_config);
214
217
    });
215
218
 
216
219
    // Wire up the processing hooks
508
511
}
509
512
}, "0.1", {"requires": [
510
513
    "dom", "node", "escape", "io-base", "lp.anim", "lazr.formoverlay",
511
 
    "lp.client", "lp.testing.mockio"
 
514
    "lp.client"
512
515
    ]});