Scott Walters
d32d452efe
change WebGUI.Admin.prototype.processPlugin, which handles messages back from calls to AssetHelper classes, to do any number of little chores according to the message contents rather than just the first one it tests for.
...
change the Lock AssetHelper to both refresh and display a message indicating that the asset is locked. the refresh is needed for tree view which displays a little icon.
2013-09-26 21:23:05 -05:00
Scott Walters
15e71bf39b
Create Shortcut - Admin bar clipboard display ( #12432 ): all menu operations/AssetHelper calls now trigger a clipboard refresh
2013-09-26 18:36:58 -05:00
Scott Walters
b3714e6560
refactor WebGUI.Admin.prototype.gotoAsset slightly to avoid code duplication
...
WebGUI.Admin.prototype.addPasteHandler: guessing but fix use of 'this' vs 'self'
currentTabName() to avoid code duplication for figuring out which context we're running in (Tree/View)
WebGUI.Admin.prototype.pasteAsset: handle pasting in the Tree view by flopping over to the View view first
WebGUI.Admin.Tree.prototype.goto: better error handling/debugging
added this FIXME to WebGUI.Admin.prototype.gotoAsset:
a lot of Tree view operations fail after this point. where the View version just directly goes to the URL, the Tree view tries to modify the URL to pass the extjs-st
2013-09-25 15:00:45 -05:00
Scott Walters
22cf93600f
Revert "refactor WebGUI.Admin.prototype.gotoAsset slightly to avoid code duplication"
...
... oops, dead code may not be dead afterall
This reverts commit aeb26ab0f7262b26c1d8225cff2555df0cd43f09.
Conflicts:
www/extras/admin/admin.js
2013-09-25 15:00:45 -05:00
Scott Walters
58911e3026
WebGUI.Admin.prototype.reload: fix a lot of Tree view operations by doing a this.tree.goto on location.pathname rather than href to drop incidental
...
query parameters. the view frame grows query parameters when it shows various edit and admin screens.
add comments about safe/unsafe uses of goto with respect to Tree's URL mangling
made updating the status message in the Fork progress dialog optional so the 'undefined' message should be gone now.
2013-09-25 15:00:44 -05:00
Scott Walters
1ac133d955
refactor WebGUI.Admin.prototype.gotoAsset slightly to avoid code duplication
...
WebGUI.Admin.prototype.addPasteHandler: guessing but fix use of 'this' vs 'self'
currentTabName() to avoid code duplication for figuring out which context we're running in (Tree/View)
WebGUI.Admin.prototype.pasteAsset: handle pasting in the Tree view by flopping over to the View view first
removed WebGUI.Admin.Tree.prototype.runHelperForSelected and relatedly WebGUI.Admin.Tree.prototype.cut, copy, shortcut, duplicate, delete; these are dead code
WebGUI.Admin.Tree.prototype.goto: better error handling/debugging
added this FIXME to WebGUI.Admin.prototype.gotoAsset:
a lot of Tree view operations fail after this point. where the View version just directly goes to the URL, the Tree view tries to modify the URL to pass the extjs-style grid's parameters back. this winds up creating unworkable URLs that try to do two things at once, with two '?'s, two 'op='s, etc. there are two ways to fix this: if we're trying to go to an asset (gotoAsset) and we're in Tree view, flop back to View mode first; or else two distinct requests, one for the remote request (which might generate additional requests to draw in dialog boxes, progress bars, forms, etc) and then when that's all done, refresh the grid view. WebGUI.Admin.prototype.pasteAsset takes the route of flopping to Tree view first.
2013-09-24 12:28:51 -05:00
Scott Walters
8be9ed7d59
the 'cut' drop down (AssetHelper) operation basically worked, but the screen wasn't redrawn after the change, and the JSON returned during Fork polling in WebGUI::AssetHelper::Cut didn't match what the YAHOO.WebGUI.Fork.poll callback in WebGUI.Admin.prototype.openForkDialog was expecting so status communication had to be wired up. wG::ProgressTree exposes 'flat' now too for the sake of computing a progress bar. looking at only the roots nodes is ineffective; in this case, the number of root nodes would only ever be 1 though the number of child nodes to be processed could be much higher. WebGUI.Admin.prototype.openForkDialog's callback to YAHOO.WebGUI.Fork.poll handles a status JSON message (JSON inside of JSON, ugh) of "reload" and there's an admin.reload() method now. that's also callable from WebGUI.Admin.prototype.processPlugin and was done in the style of its handlers.
2013-09-24 12:28:51 -05:00
Scott Walters
5736fdf4d1
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI -- and this time doing the same for the drag and drop bar
2013-09-12 13:32:29 -05:00
Scott Walters
9d047a788d
Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI"
...
... committeed too much stuff. ack
This reverts commit c19c3503d4 .
2013-09-12 13:02:01 -05:00
Scott Walters
c19c3503d4
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI
2013-09-12 12:03:41 -05:00
Scott Walters
6dbc6697c5
Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars"
...
... jquery isn't reliably available; trying to do this with YUI instead
This reverts commit 1ef7460815 .
2013-09-12 12:02:22 -05:00
Scott Walters
1ef7460815
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars
2013-09-12 10:03:22 -05:00
David Delikat
e0ab5eac47
change parentElement to parentNode
2011-11-12 03:40:28 +00:00
David Delikat
ffbc759dd2
Merge branch 'WebGUI8' of github.com:plainblack/webgui into WebGUI8
...
Conflicts:
www/extras/admin/admin.js
2011-10-26 23:15:02 +00:00
David Delikat
2e2a4db7b6
make admin context menu display
2011-10-26 22:48:58 +00:00
David Delikat
7a9bd26c5e
fixed admin select all check box
2011-10-26 00:27:31 +00:00
Colin Kuskie
be109711a8
i18n a few more labels in the new admin console
2011-10-11 21:00:45 -07:00
Colin Kuskie
3de9a22bc4
save some typing when getting the admin object. Mark the type column as not sortable since it isn't an asset property.
2011-10-01 20:09:25 -07:00
Colin Kuskie
f20302cc63
Fix various object scoping issues. Still not context more/helper menus...
2011-10-01 19:53:46 -07:00
Colin Kuskie
d3b4a6d984
Internationalize the month names in the asset history helper in the new admin console.
2011-10-01 19:13:57 -07:00
Colin Kuskie
ced7fa371f
Pass admin.navigate an assetId instead of an object.
2011-10-01 17:17:44 -07:00
Scott Walters
dd6a297c06
make the admin view [Edit] controls right-click-able so I can continue to right-click-open-in-new-tab them.
2011-05-10 14:40:06 -04:00
Doug Bell
c7825d4f74
only drag handles should drag asset
...
this prevents problems with not being able to input or interact with
assets while the drag handles are showing
2011-04-22 18:05:56 -05:00
Doug Bell
cd15d36ce4
edit button in toolbar now works properly
2011-04-20 18:37:49 -05:00
Doug Bell
9939e91eda
remove useless scope setting
...
getHelperHandler already provides a function bound to the
correct scope
2011-04-20 18:34:03 -05:00
Doug Bell
a7f60c7d45
add confirm dialog for helpers
2011-04-20 18:29:33 -05:00
Doug Bell
ecce246e1c
new layout drag handles working
2011-04-20 15:52:50 -05:00
Doug Bell
0299d7837c
start on new layout draggables
2011-04-19 18:13:03 -05:00
Doug Bell
8906c3f28a
className is the full class name. type is the i18n name
2011-04-19 14:01:25 -05:00
Doug Bell
5612871d85
new, fully-javascript admin toolbars
2011-04-18 16:46:30 -05:00
Doug Bell
f5ebb6e916
change admin console to get asset info via ajax call after frame is loaded
...
this is step one in making the asset control toolbars work
correctly without having an "Admin Mode"
2011-04-14 15:08:35 -05:00
Doug Bell
380b9c7540
show fork dialog when a helper forks
2011-03-29 23:24:58 -05:00
Doug Bell
f7fb7cea6b
try to make Tree view prettier
2011-03-25 15:15:23 -05:00
Doug Bell
b27bc19e4d
Tree view buttons now work. Changed progress bar helpers to use fork. Added forkId option to AssetHelpers. Added updateAsset service to Admin.
2011-03-03 19:25:20 -06:00
Doug Bell
f6831953bd
start on Tree buttons to call Asset Helpers
2011-02-25 16:08:06 -06:00
Doug Bell
b9e879b7aa
change AssetHelpers to have short IDs instead of class names
...
This will make better code reuse: The Asset Manager will instead
call the AssetHelper with the id of "cut" or "copy" to get the
correct operation.
2011-02-25 15:45:42 -06:00
Doug Bell
8ba07e0454
fix admin view tab height problem in FF
2011-01-13 15:27:33 -06:00
Paul Driver
a4edea1e3c
Better integration of Fork into AssetHelpers, fork startup
2010-11-08 07:55:42 -06:00
Doug Bell
0cd851d779
search completed
2010-10-11 16:40:54 -05:00
Doug Bell
1f3a97235b
remove rank from default assettable. only in tree
2010-10-11 16:40:54 -05:00
Doug Bell
77916cf8d2
refactor Tree to make AssetTable and use in Search
2010-10-11 16:40:54 -05:00
Doug Bell
6d6d618e52
remove location bar updates
2010-10-11 16:40:54 -05:00
Doug Bell
914816bd54
add className filter
2010-10-11 16:40:54 -05:00
Doug Bell
8c19cb9c99
add filter any/all dropdown
2010-10-11 16:40:53 -05:00
Doug Bell
07612d6456
create autocomplete for lineage search
2010-10-11 16:40:53 -05:00
Doug Bell
9efe4fc933
search tab now back to where old dialog was
2010-10-11 16:40:52 -05:00
Doug Bell
0751872e21
make Search into its own object
...
this way multiple searches can save individual states
2010-10-11 16:40:52 -05:00
Doug Bell
31d1ab06ac
remove old search toggle routines
2010-10-11 16:40:52 -05:00
Doug Bell
9826fb0872
open search in new tab instead
2010-10-11 16:40:52 -05:00
Doug Bell
945d78cb32
add openTab function for admin plugins
2010-08-31 16:09:07 -05:00