confirm.js revision 862a31119ccc38b9e7836a2366c6040ec8b02591
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2011-2015 ForgeRock AS. All rights reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/*global require, define, window*/
paths: {
"backbone": "libs/backbone-1.1.2-min",
"bootstrap": "libs/bootstrap.min",
"bootstrap-dialog": "libs/bootstrap-dialog.min",
"doTimeout": "libs/jquery.ba-dotimeout-1.0-min",
"form2js": "libs/form2js-2.0",
"handlebars": "libs/handlebars-1.3.0-min",
"i18next": "libs/i18next-1.7.3-min",
"jquery": "libs/jquery-2.1.1-min",
"js2form": "libs/js2form-2.0",
"moment": "libs/moment-2.8.1-min",
"spin": "libs/spin-2.0.1-min",
"underscore": "libs/lodash-2.4.1-min",
"xdate": "libs/xdate-0.8-min",
},
shim: {
"backbone": {
deps: ["underscore"],
exports: "Backbone"
},
"bootstrap": {
deps: ["jquery"]
},
"bootstrap-dialog": {
},
"doTimeout": {
deps: ["jquery"],
exports: "doTimeout"
},
"form2js": {
exports: "form2js"
},
"handlebars": {
exports: "handlebars"
},
"i18next": {
exports: "i18next"
},
"js2form": {
exports: "js2form"
},
"moment": {
exports: "moment"
},
"spin": {
exports: "spin"
},
"underscore": {
exports: "_"
},
"xdate": {
exports: "xdate"
}
}
});
require([
"jquery",
"underscore",
"backbone",
var conf = {
defaultHeaders: {}
},
// Helpers for the code that hasn't been properly migrated to require these as explicit dependencies:
window.$ = $;
window._ = _;
callParams = {
type: "GET",
success: function() {
location.href = UIUtils.getCurrentUrlBasePart() + "/"+ Constants.context + '/XUI/#continueRegister/&' + searchParams;
},
var expire = new Date(),
cookieVal = {
valid : false
};
}
}
};
location.href = UIUtils.getCurrentUrlBasePart() + "/"+ Constants.context +'/XUI/#forgotPasswordChange/&' + searchParams;
}
}
location.href = UIUtils.getCurrentUrlBasePart() + "/"+ Constants.context + '/XUI/#continueRegister/&' + searchParams;
}
else {
}
});