PHP Classes

File: admin/js/apps.js

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   admin/js/apps.js   Download  
File: admin/js/apps.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change: Lobby 1.0 Cobra
Date: 7 years ago
Size: 581 bytes
 

Contents

Class file image Download
lobby.load(function(){$("#select_all_apps").live("click",function(){if($(this).is(":checked")===false){$("#apps_table input[type=checkbox]").prop("checked",false);}else{$("#apps_table input[type=checkbox]").prop("checked",true);$("#combined_actions").show();}});$("#workspace .app .switch input[type=checkbox]").on("change",function(){lobby.ar("admin/enable-app",{enable:$(this).is(":checked"),appID:$(this).attr("data-appID")},function(r){if(r==="enable-fail"||r==="disable-fail") lobby.redirect("/admin/apps.php?app="+appID+"&action="+r+"&quick&show=1"+lobby.csrfToken);});});});