some reordering

This commit is contained in:
rolux 2013-03-02 12:09:28 +05:30
parent 661e005b78
commit 270a6ccb49

View file

@ -70,18 +70,6 @@ pandora.ui.item = function() {
})
);
} else if (pandora.user.ui.itemView == 'clips') {
pandora.$ui.contentPanel.replaceElement(1,
pandora.ui.clipsView(result.data.videoRatio)
);
} else if (pandora.user.ui.itemView == 'timeline') {
pandora.$ui.contentPanel.replaceElement(1,
pandora.$ui.timeline = pandora.ui.timeline(result.data)
);
} else if (pandora.user.ui.itemView == 'player') {
pandora.$ui.contentPanel.replaceElement(1,
@ -94,6 +82,18 @@ pandora.ui.item = function() {
pandora.$ui.editor = pandora.ui.editor(result.data)
);
} else if (pandora.user.ui.itemView == 'timeline') {
pandora.$ui.contentPanel.replaceElement(1,
pandora.$ui.timeline = pandora.ui.timeline(result.data)
);
} else if (pandora.user.ui.itemView == 'clips') {
pandora.$ui.contentPanel.replaceElement(1,
pandora.ui.clipsView(result.data.videoRatio)
);
} else if (pandora.user.ui.itemView == 'map') {
pandora.$ui.contentPanel.replaceElement(1,