Skip to content

Commit

Permalink
Renamed my tab plugin to the more appropriate "tabpanel". It now recu…
Browse files Browse the repository at this point in the history
…rsively prepares all related objects of a detail view into an outer-tabset/inner treeview, and renders them asynchronously on demand. Looks pretty bad, but seems to function consistently...
  • Loading branch information
nullsound committed Jul 20, 2010
1 parent ee74630 commit 838c2a1
Show file tree
Hide file tree
Showing 10 changed files with 486 additions and 349 deletions.
17 changes: 14 additions & 3 deletions share/ic/js/manage.js
Expand Up @@ -52,10 +52,12 @@ YUI(
"ic-manage-plugin-treeview-css"
]
},
"ic-manage-plugin-tabio": {
path: "manage/plugins/tab_io.js",
"ic-manage-plugin-tabpanel": {
path: "manage/plugins/tabpanel.js",
requires: [
"ic-manage-plugin-tabpanel-css",
"gallery-widget-io",
"widget-stdmod",
"ic-manage-plugin-treeview"
]
},
Expand Down Expand Up @@ -110,7 +112,7 @@ YUI(
"ic-manage-widget-function",
"gallery-form",
"ic-manage-widget-tabview",
"ic-manage-plugin-tabio"
"ic-manage-plugin-tabpanel"
]
},
"ic-manage-widget-container": {
Expand Down Expand Up @@ -179,6 +181,10 @@ YUI(
path: "manage/widgets/menu.css",
type: "css"
},
"ic-manage-plugin-tabpanel-css": {
path: "manage/plugins/tabpanel.css",
type: "css"
},
"ic-manage-plugin-treeview-css": {
path: "manage/plugins/treeview.css",
type: "css"
Expand Down Expand Up @@ -237,6 +243,11 @@ YUI(

Y.log("setting up manage window");
var mw = new Y.IC.ManageWindow({prefix: '_mw'});

// hide our loading screen
Y.on('contentready', function () {
Y.one('#application-loading').addClass('hide');
}, '#manage_menu');
}
);
}
Expand Down
227 changes: 0 additions & 227 deletions share/ic/js/manage/plugins/tab_io.js

This file was deleted.

0 comments on commit 838c2a1

Please sign in to comment.