forked from GNUsocial/gnu-social
Disable the send-notice form at the top of the page OStatus subscription confirmation page to work around bugs in Cloudy theme.
This is really just a hack for the broken CSS in the Cloudy theme, I think; copying from other non-notice-navigation pages that do this as well. There will be plenty of others also broken.
This commit is contained in:
parent
e547a2f54c
commit
acea534044
0
avatar/.gitignore
vendored
Normal file → Executable file
0
avatar/.gitignore
vendored
Normal file → Executable file
@ -446,4 +446,18 @@ class OStatusSubAction extends Action
|
|||||||
{
|
{
|
||||||
return common_local_url('ostatussub');
|
return common_local_url('ostatussub');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable the send-notice form at the top of the page.
|
||||||
|
* This is really just a hack for the broken CSS in the Cloudy theme,
|
||||||
|
* I think; copying from other non-notice-navigation pages that do this
|
||||||
|
* as well. There will be plenty of others also broken.
|
||||||
|
*
|
||||||
|
* @fixme fix the cloudy theme
|
||||||
|
* @fixme do this in a more general way
|
||||||
|
*/
|
||||||
|
function showNoticeForm() {
|
||||||
|
// nop
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user