a whole pile of bug fixes
This commit is contained in:
parent
4ddc5d66ec
commit
a50fd5787a
18 changed files with 234 additions and 61 deletions
|
|
@ -3,12 +3,12 @@
|
|||
//Creates a new asset object.
|
||||
function ManageTrash() {
|
||||
var asset = new Asset();
|
||||
|
||||
asset.dragEnabled = false;
|
||||
asset.allowMultiSelect = true;
|
||||
//displays the right click context menu
|
||||
asset.getContextMenu = function () {
|
||||
var arr = new Array();
|
||||
arr[arr.length] = new ContextMenuItem(this.labels["cut"],"javascript:" + this.evalReference() + ".cut()");
|
||||
arr[arr.length] = new ContextMenuItem(this.labels["restore"],"javascript:" + this.evalReference() + ".restore()");
|
||||
arr[arr.length] = new ContextMenuItem("<img src='/extras/assetManager/breakerLine.gif'>","");
|
||||
arr[arr.length] = new ContextMenuItem(this.labels["purge"],"javascript:" + this.evalReference() + ".purge()");
|
||||
return arr;
|
||||
|
|
@ -19,6 +19,10 @@ asset.purge = function() {
|
|||
location.href = this.parent.getWrappedURL() + "func=purgeList" + AssetManager_getManager().getSelectedAssetIds();
|
||||
}
|
||||
|
||||
asset.restore = function() {
|
||||
location.href = this.parent.getWrappedURL() + "func=restoreList" + AssetManager_getManager().getSelectedAssetIds();
|
||||
}
|
||||
|
||||
return asset;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,16 +21,11 @@ function returnSelected(in_values) {
|
|||
|
||||
|
||||
<select name="textPulldown" onchange="returnSelected(this.value)">
|
||||
<option value=''>Collateral...</option>
|
||||
<option value='^I("logo");'>Image</option>
|
||||
<option value='^SI("logo","100");'>Scaled Image</option>
|
||||
<option value='^Thumbnail("logo");'>Thumbnail</option>
|
||||
<option value='^ThumbnailLinker("logo");'>Linked Thumbnail</option>
|
||||
<option value='^File("product specs");'>File with Icon</option>
|
||||
<option value='^i("status report");'>File URL</option>
|
||||
<option value='^RandomImage("collateral folder");'>Random Image</option>
|
||||
<option value='^RandomSnippet("collateral folder");'>Random Snippet</option>
|
||||
<option value='^Snippet("flash code");'>Snippet</option>
|
||||
<option value=''>Assets...</option>
|
||||
<option value='^AssetProxy(url);'>Asset Proxy</option>
|
||||
<option value='^RandomAssetProxy(url);'>Random Asset Proxy</option>
|
||||
<option value='^FileUrl(assetUrl);'>File URL</option>
|
||||
<option value='^Page(property name);'>Asset Property</option>
|
||||
</select>
|
||||
|
||||
|
||||
|
|
@ -56,7 +51,7 @@ function returnSelected(in_values) {
|
|||
<option value='^Navigation(rootmenu);'>Root Menu (Horizontal)</option>
|
||||
<option value='^H;'>Home Link</option>
|
||||
<option value='^/;'>System URL</option>
|
||||
<option value='^\;'>Current Page URL</option>
|
||||
<option value='^PageUrl;'>Current Page URL</option>
|
||||
</select>
|
||||
|
||||
|
||||
|
|
@ -87,10 +82,10 @@ function returnSelected(in_values) {
|
|||
<option value='^r;'>Make Page Printable</option>
|
||||
<option value='^RootTitle;'>Root Title</option>
|
||||
<option value='^Extras;'>Extras Folder</option>
|
||||
<option value='^AdminBar(2);'>Admin Bar</option>
|
||||
<option value='^AdminBar;'>Admin Bar</option>
|
||||
</select>
|
||||
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</body></html>
|
||||
</body></html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue