fixed: Clipboard select all doesn't work with one item in IE
This commit is contained in:
parent
05aa0925aa
commit
cb6a1c94c4
2 changed files with 11 additions and 5 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
- fixed: After saving Photo, Add an Image points to wrong link
|
- fixed: After saving Photo, Add an Image points to wrong link
|
||||||
- fixed: "Back to Album" link doesn't work
|
- fixed: "Back to Album" link doesn't work
|
||||||
- fixed: email validation links can be broken by mail servers
|
- fixed: email validation links can be broken by mail servers
|
||||||
|
- fixed: Clipboard select all doesn't work with one item in IE
|
||||||
|
|
||||||
7.5.9
|
7.5.9
|
||||||
- fixed: Collaboration System attachments follow site's max size instead of CS's
|
- fixed: Collaboration System attachments follow site's max size instead of CS's
|
||||||
|
|
|
||||||
|
|
@ -425,11 +425,16 @@ $self->session->style->setLink($self->session->url->extras('assetManager/assetMa
|
||||||
assetManager.AddButton("'.$i18n->get("restore").'","restoreList","manageClipboard");
|
assetManager.AddButton("'.$i18n->get("restore").'","restoreList","manageClipboard");
|
||||||
assetManager.Write();
|
assetManager.Write();
|
||||||
var assetListSelectAllToggle = false;
|
var assetListSelectAllToggle = false;
|
||||||
function toggleAssetListSelectAll(form){
|
function toggleAssetListSelectAll(form) {
|
||||||
assetListSelectAllToggle = assetListSelectAllToggle ? false : true;
|
assetListSelectAllToggle = assetListSelectAllToggle ? false : true;
|
||||||
for(var i = 0; i < form.assetId.length; i++)
|
if (typeof form.assetId.length == "undefined") {
|
||||||
form.assetId[i].checked = assetListSelectAllToggle;
|
form.assetId.checked = assetListSelectAllToggle;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
for (var i = 0; i < form.assetId.length; i++)
|
||||||
|
form.assetId[i].checked = assetListSelectAllToggle;
|
||||||
|
}
|
||||||
|
}
|
||||||
//]]>
|
//]]>
|
||||||
</script> <div class="adminConsoleSpacer"> </div>';
|
</script> <div class="adminConsoleSpacer"> </div>';
|
||||||
return $ac->render($output, $header);
|
return $ac->render($output, $header);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue