API-CHANGE: ssui.core.js rewrite to work with jQuery UI 1.8. Renamed _init => _create and renamed defaults => options. See the following websites for a complete guide to what has changed in jquery UI version 1.8:

https://github.com/scottgonzalez/jquery-ui-1.8-widget-factory
http://jqueryui.com/docs/Upgrade_Guide
This commit is contained in:
Julian Seidenberg 2011-02-24 17:12:19 +13:00
parent f380d88c80
commit 86fa29accc

View File

@ -1,6 +1,6 @@
(function($) {
$.widget("ssui.titlebar", {
_init: function() {
_create: function() {
this.originalTitle = this.element.attr('title');
var self = this;
@ -78,7 +78,7 @@
$.extend($.ssui.titlebar, {
version: "0.0.1",
defaults: {
options: {
title: '',
closeButton: false,
closeText: 'close'