# HG changeset patch # User Atul Varma # Date 1272505028 25200 # Node ID 106a0018e60172dc304eb293d96d8cda81924098 # Parent c486d35fad270153a08e3a15274b86543831e170 Get rid of any form values cached by the browser. diff -r c486d35fad27 -r 106a0018e601 js/black-box.js --- a/js/black-box.js Tue Apr 27 23:06:29 2010 -0700 +++ b/js/black-box.js Wed Apr 28 18:37:08 2010 -0700 @@ -84,6 +84,9 @@ //console.log(method, args); } + // Get rid of any form values cached by the browser. + options.jQuery("input[type=text], input[type=password]").val(""); + var ajaxImpl = require("mocks/bugzilla/trivial").makeAjaxImpl(); options.cache = require("mocks/cache").create(delegate); options.Bugzilla = require("mocks/bugzilla").create(options.Bugzilla,