forked from GNUsocial/gnu-social
trac750 Removed psychotic FB redirect hack. Found a better way with document.setLocation()
This commit is contained in:
@@ -15,11 +15,4 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Psycho Facebook redirect hack, used because 'document.location'
|
||||
// simply does not work in FBJS
|
||||
function redirectSettings() {
|
||||
form = document.getElementById('redirect_form');
|
||||
form.setAction('settings.php');
|
||||
form.submit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user