Sha256: 89730ec66739e8ce4a86313f286d4dd47467755d8cf0ef37919dfc0c7b3e0b51

Contents?: true

Size: 681 Bytes

Versions: 4

Compression:

Stored size: 681 Bytes

Contents

<script>
function assignCategories(app_id) {
  platformLightbox.show('/platform/admin/categories/category_assigner?app_id=' + app_id, {"width":"800", "height":"500"});
}

function assignCategory(app_id, category_id, checked) {
  Platform.Utils.update("app_categories_" + app_id, "/platform/admin/categories/assign_category", {
      parameters: {app_id:app_id, category_id: category_id, checked: checked}
  });
}

function makeFeatured(app_id, app_category_id, checked) {
  Platform.Utils.update("app_categories_" + app_id, "/platform/admin/categories/update_featured_flag", {
      parameters: {app_id:app_id, app_category_id: app_category_id, checked: checked}
  });
}
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
platform-3.1.4 app/views/platform/admin/apps/_categories_scripts.html.erb
platform-3.1.3 app/views/platform/admin/apps/_categories_scripts.html.erb
platform-3.1.2 app/views/platform/admin/apps/_categories_scripts.html.erb
platform-3.1.1 app/views/platform/admin/apps/_categories_scripts.html.erb