1/*global Civica:false */ 2/*jshint white: false */ 3/*jshint maxlen: 400 */ 4/*jshint onevar: false */ 5/*jshint nomen: false */ 6with (Civica.Globals) { 7 (function (undefined) { 8 $.widget('civica.login', $.civica.basewidget, { 9 10 options: { 11 RedirectToOnLogin: null, 12 IncludeReturnUrl: true, 13 AuthenticationMethod: null 14 }, 15 16 _create: function () { 17 var instance = this; 18 if (Civica.Util.IsNullOrEmpty(instance.options.RedirectToOnLogin)) { 19 instance.options.RedirectToOnLogin = Civica.RootUrl; 20 } 21 Civica.Factory.Service('API.Language').WaitForLang('core', $.proxy(instance, '_doCreate'), $.proxy(instance, '_setUpFail')); 22 }, 23 24 _setUpFail: function () { 25 this.raiseError('Unable to get core language'); 26 }, 27 28 _doCreate: function () { 29 var model = Civica.Factory.Model('UI.Logon', this.options); 30 Civica.Factory.Controller("Login", 31 { 32 el: this.element, 33 model: model 34 }); 35 } 36 }); 37 })(); 38};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.