From: fat Date: Sun, 18 Aug 2013 02:07:59 +0000 (-0700) Subject: use correct arg name X-Git-Tag: v3.0.0~75^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c3d87973207d4e9c4551572a8db0a08e422f37;p=thirdparty%2Fbootstrap.git use correct arg name --- diff --git a/assets/js/customizer.js b/assets/js/customizer.js index c5cfedd992..e1d7507e0b 100644 --- a/assets/js/customizer.js +++ b/assets/js/customizer.js @@ -34,8 +34,8 @@ window.onload = function () { // wait for load in a dumb way because B-0 dataType: 'json', data: JSON.stringify(data) }) - .success(function(err) { - history.replaceState(false, document.title, window.location.origin + window.location.pathname + '?id=' + e.id) + .success(function(result) { + history.replaceState(false, document.title, window.location.origin + window.location.pathname + '?id=' + result.id) }) .error(function(err) { showError('Error Could not save gist file, configuration not saved.', err)